projects
/
openwrt
/
staging
/
noltari.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm63xx: add pinctrl support
[openwrt/staging/noltari.git]
/
target
/
linux
/
brcm63xx
/
dts
/
bcm96318ref.dts
diff --git
a/target/linux/brcm63xx/dts/bcm96318ref.dts
b/target/linux/brcm63xx/dts/bcm96318ref.dts
index 4f5049caf73358fc7aee15af7c138070adb585c8..3c4d394b3c3c8ba8192e76565542cfb8f01db0a0 100644
(file)
--- a/
target/linux/brcm63xx/dts/bcm96318ref.dts
+++ b/
target/linux/brcm63xx/dts/bcm96318ref.dts
@@
-21,13
+21,13
@@
wps {
label = "wps";
wps {
label = "wps";
- gpios = <&
gpio1 1
1>;
+ gpios = <&
pinctrl 33
1>;
linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
- gpios = <&
gpio1 2
1>;
+ gpios = <&
pinctrl 34
1>;
linux,code = <KEY_RESTART>;
};
};
linux,code = <KEY_RESTART>;
};
};
@@
-37,17
+37,22
@@
inet {
label = "96318REF:green:inet";
inet {
label = "96318REF:green:inet";
- gpios = <&
gpio0
8 1>;
+ gpios = <&
pinctrl
8 1>;
};
inet_fail {
label = "96318REF:red:inet-fail";
};
inet_fail {
label = "96318REF:red:inet-fail";
- gpios = <&
gpio0
9 1>;
+ gpios = <&
pinctrl
9 1>;
};
post_failed {
label = "96318REF:red:post-failed";
};
post_failed {
label = "96318REF:red:post-failed";
- gpios = <&
gpio0
11 1>;
+ gpios = <&
pinctrl
11 1>;
};
};
};
};
};
};
+
+&pinctrl {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usb_pwron>;
+};