mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 01:59:02 +00:00
30 lines
434 B
Plaintext
30 lines
434 B
Plaintext
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||
|
|
||
|
/dts-v1/;
|
||
|
#include "mt7981b-xiaomi-mi-router-common.dtsi"
|
||
|
|
||
|
&gmac0 {
|
||
|
nvmem-cell-names = "mac-address";
|
||
|
nvmem-cells = <&macaddr_factory_4 (-2)>;
|
||
|
};
|
||
|
|
||
|
&i2c0 {
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&i2c_pins>;
|
||
|
status = "okay";
|
||
|
|
||
|
nfc@57 {
|
||
|
compatible = "nt082c";
|
||
|
reg = <0x57>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&pio {
|
||
|
i2c_pins: i2c-pins {
|
||
|
mux {
|
||
|
function = "i2c";
|
||
|
groups = "i2c0_1";
|
||
|
};
|
||
|
};
|
||
|
};
|