projects
/
openwrt
/
staging
/
aparcar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f406548
)
realtek: add sys-led disable pinctrl for rtl930x
author
Sander Vanheule
<
[email protected]
>
Fri, 26 Nov 2021 21:16:02 +0000
(22:16 +0100)
committer
Sander Vanheule
<
[email protected]
>
Sun, 10 Jul 2022 07:54:35 +0000
(09:54 +0200)
Like for RTL838x devices, add a pinctrl-single node to manage the
sys-led/gpio0 mux, and allow using the pin as GPIO.
Co-developed-by: INAGAKI Hiroshi <
[email protected]
>
Signed-off-by: INAGAKI Hiroshi <
[email protected]
>
Signed-off-by: Sander Vanheule <
[email protected]
>
target/linux/realtek/dts-5.10/rtl930x.dtsi
patch
|
blob
|
history
diff --git
a/target/linux/realtek/dts-5.10/rtl930x.dtsi
b/target/linux/realtek/dts-5.10/rtl930x.dtsi
index bfde5e6ff6ae82d55f67ee82de762ed8d88eb42f..c2a992a174c77ccc542b51c28d3b1dc8ffa72f40 100644
(file)
--- a/
target/linux/realtek/dts-5.10/rtl930x.dtsi
+++ b/
target/linux/realtek/dts-5.10/rtl930x.dtsi
@@
-135,6
+135,21
@@
};
+ pinmux_led: pinmux@1b00cc00 {
+ compatible = "pinctrl-single";
+ reg = <0x1b00cc00 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 0x1000>;
+ };
+ };
+
ethernet0: ethernet@1b00a300 {
compatible = "realtek,rtl838x-eth";
reg = <0x1b00a300 0x100>;