mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
e4ce3109f2
The node pinctrl0 is already set up in the SOC DTSI files, but defined again as member of pinctrl in most of the device DTS(I) files. This patch removes this redundancy for the entire ramips target. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
32 lines
550 B
Plaintext
32 lines
550 B
Plaintext
/dts-v1/;
|
|
|
|
#include "mt7628an_wrtnode_wrtnode2.dtsi"
|
|
|
|
/ {
|
|
compatible = "wrtnode,wrtnode2p", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
|
|
model = "WRTnode2P";
|
|
|
|
aliases {
|
|
led-boot = &led_indicator;
|
|
led-failsafe = &led_indicator;
|
|
led-running = &led_indicator;
|
|
led-upgrade = &led_indicator;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led_indicator: indicator {
|
|
label = "wrtnode:blue:indicator";
|
|
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&state_default {
|
|
gpio {
|
|
ralink,group = "i2c", "gpio";
|
|
ralink,function = "gpio";
|
|
};
|
|
};
|