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
419 B
Plaintext
27 lines
419 B
Plaintext
/dts-v1/;
|
|
|
|
#include "WRTNODE2.dtsi"
|
|
|
|
/ {
|
|
compatible = "wrtnode,wrtnode2p", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
|
|
model = "WRTnode2P";
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
indicator {
|
|
label = "wrtnode:blue:indicator";
|
|
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
state_default: pinctrl0 {
|
|
gpio {
|
|
ralink,group = "i2c", "gpio", "jtag";
|
|
ralink,function = "gpio";
|
|
};
|
|
};
|
|
};
|