projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm63xx: add pinctrl support
[oweals/openwrt.git]
/
target
/
linux
/
brcm63xx
/
dts
/
a4001n.dts
diff --git
a/target/linux/brcm63xx/dts/a4001n.dts
b/target/linux/brcm63xx/dts/a4001n.dts
index 70eb8cec921a857e99d573c46104a7d495fd31c0..d29b834a3afac6ced870230afe567404f31c298f 100644
(file)
--- a/
target/linux/brcm63xx/dts/a4001n.dts
+++ b/
target/linux/brcm63xx/dts/a4001n.dts
@@
-21,12
+21,12
@@
reset {
label = "reset";
reset {
label = "reset";
- gpios = <&
gpio0
23 1>;
+ gpios = <&
pinctrl
23 1>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
- gpios = <&
gpio0
24 1>;
+ gpios = <&
pinctrl
24 1>;
linux,code = <KEY_WPS_BUTTON>;
};
};
linux,code = <KEY_WPS_BUTTON>;
};
};
@@
-36,24
+36,24
@@
inet_red {
label = "A4001N:red:inet";
inet_red {
label = "A4001N:red:inet";
- gpios = <&
gpio0
1 0>;
+ gpios = <&
pinctrl
1 0>;
};
power_red {
label = "A4001N:red:power";
};
power_red {
label = "A4001N:red:power";
- gpios = <&
gpio0
4 0>;
+ gpios = <&
pinctrl
4 0>;
};
power_green {
label = "A4001N:green:power";
};
power_green {
label = "A4001N:green:power";
- gpios = <&
gpio0
8 0>;
+ gpios = <&
pinctrl
8 0>;
default-state = "on";
};
usb_green {
label = "A4001N:green:usb";
default-state = "on";
};
usb_green {
label = "A4001N:green:usb";
- gpios = <&
gpio0
10 1>;
+ gpios = <&
pinctrl
10 1>;
};
dsl_green {
label = "A4001N:green:dsl";
};
dsl_green {
label = "A4001N:green:dsl";
- gpios = <&
gpio0
11 1>;
+ gpios = <&
pinctrl
11 1>;
};
};
};
};
};
};