projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a226027
)
realtek: add pinmux node of LED_GLB_CTRL to rtl838x.dtsi in dts-5.10
author
INAGAKI Hiroshi
<
[email protected]
>
Fri, 7 May 2021 03:10:10 +0000
(12:10 +0900)
committer
Adrian Schmutzler
<
[email protected]
>
Sat, 25 Sep 2021 22:32:18 +0000
(
00:32
+0200)
This patch adds a pinctrl-single pinmux node to allow disabling system
LED and enabling GPIO 0 (old driver: GPIO 24).
Signed-off-by: INAGAKI Hiroshi <
[email protected]
>
target/linux/realtek/dts-5.10/rtl838x.dtsi
patch
|
blob
|
history
diff --git
a/target/linux/realtek/dts-5.10/rtl838x.dtsi
b/target/linux/realtek/dts-5.10/rtl838x.dtsi
index f5903ec17417af4ef5ff5e11db58880ad30bec62..f2824cdceb938e24254340b989a6b15c6a26ef49 100644
(file)
--- a/
target/linux/realtek/dts-5.10/rtl838x.dtsi
+++ b/
target/linux/realtek/dts-5.10/rtl838x.dtsi
@@
-181,6
+181,22
@@
};
};
+ /* LED_GLB_CTRL */
+ pinmux_led: pinmux@bb00a000 {
+ compatible = "pinctrl-single";
+ reg = <0xbb00a000 0x4>;
+
+ pinctrl-single,bit-per-mux;
+ pinctrl-single,register-width = <32>;
+ pinctrl-single,function-mask = <0x1>;
+ #pinctrl-cells = <2>;
+
+ /* enable GPIO 0 */
+ pinmux_disable_sys_led: disable_sys_led {
+ pinctrl-single,bits = <0x0 0x0 0x8000>;
+ };
+ };
+
ethernet0: ethernet@bb00a300 {
compatible = "realtek,rtl838x-eth";
reg = <0xbb00a300 0x100>;