diff options
author | INAGAKI Hiroshi <musashino.open@gmail.com> | 2021-05-07 12:10:10 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-09-26 00:32:18 +0200 |
commit | 99a658cb71e474abf73ec77aa99b30b7eb2001a3 (patch) | |
tree | d02cdabf3800a7d438851d684f0034ad47dcde7c /target/linux | |
parent | a22602728c02e380ef4496b833271d5c760fe46f (diff) | |
download | upstream-99a658cb71e474abf73ec77aa99b30b7eb2001a3.tar.gz upstream-99a658cb71e474abf73ec77aa99b30b7eb2001a3.tar.bz2 upstream-99a658cb71e474abf73ec77aa99b30b7eb2001a3.zip |
realtek: add pinmux node of LED_GLB_CTRL to rtl838x.dtsi in dts-5.10
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 <musashino.open@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/realtek/dts-5.10/rtl838x.dtsi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi b/target/linux/realtek/dts-5.10/rtl838x.dtsi index f5903ec174..f2824cdceb 100644 --- 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>; |