mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
70b192f573
Use the GPIO dt-bindings macros and add compatible strings in the ramips device tree source files. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Signed-off-by: Mathias Kresin <dev@kresin.me>
27 lines
423 B
Plaintext
27 lines
423 B
Plaintext
/dts-v1/;
|
|
|
|
#include "WRTNODE2.dtsi"
|
|
|
|
/ {
|
|
compatible = "wrtnode,wrtnode2r", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
|
|
model = "WRTnode2R";
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
indicator {
|
|
label = "wrtnode:blue:indicator";
|
|
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
state_default: pinctrl0 {
|
|
gpio {
|
|
ralink,group = "i2c", "gpio", "wled_an";
|
|
ralink,function = "gpio";
|
|
};
|
|
};
|
|
};
|