mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
66e2acad9c
Instead of assigning I2C pins as GPIOs by default, leave it up to the user whether to install kmod-i2c-mt7621 and use them for hardware I2C instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
44 lines
707 B
Plaintext
44 lines
707 B
Plaintext
/dts-v1/;
|
|
|
|
#include "WRTNODE2.dtsi"
|
|
|
|
/ {
|
|
compatible = "wrtnode,wrtnode2r", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
|
|
model = "WRTnode2R";
|
|
|
|
aliases {
|
|
led-boot = &led_indicator;
|
|
led-failsafe = &led_indicator;
|
|
led-running = &led_indicator;
|
|
led-upgrade = &led_indicator;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&led_pins>;
|
|
|
|
led_indicator: indicator {
|
|
label = "wrtnode:blue:indicator";
|
|
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
state_default: pinctrl0 {
|
|
gpio {
|
|
ralink,group = "gpio";
|
|
ralink,function = "gpio";
|
|
};
|
|
};
|
|
|
|
led_pins: led {
|
|
gpio {
|
|
ralink,group = "wled_an";
|
|
ralink,function = "gpio";
|
|
};
|
|
};
|
|
};
|