summaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2024-03-04 19:12:07 +0900
committerChristian Lamparter <chunkeey@gmail.com>2024-03-08 17:35:01 +0100
commit8efd1f98a910d9af2fb92accce62d03200e47f0a (patch)
tree16901cfe937087f98057ede96443f8dd897b709e /target/linux/ath79
parenta9f780a78e72db66efd80aef75d0f0080212345a (diff)
downloadopenwrt-8efd1f98a910d9af2fb92accce62d03200e47f0a.tar.gz
openwrt-8efd1f98a910d9af2fb92accce62d03200e47f0a.tar.bz2
openwrt-8efd1f98a910d9af2fb92accce62d03200e47f0a.zip
ath79: cleanup and enable uart1 on ELECOM WAB-I1750-PS
Cleanup uart1-related node on ELECOM WAB-I1750-PS and enable it for "SERIAL" port on the case. "SERIAL" port can be used for OpenWrt console by adding the following line to /etc/inittab and rebooting: ttyATH1::askfirst:/usr/libexec/login.sh Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/dts/qca9558_elecom_wab-i1750-ps.dts31
1 files changed, 8 insertions, 23 deletions
diff --git a/target/linux/ath79/dts/qca9558_elecom_wab-i1750-ps.dts b/target/linux/ath79/dts/qca9558_elecom_wab-i1750-ps.dts
index 6f157cf932..668f0ceadd 100644
--- a/target/linux/ath79/dts/qca9558_elecom_wab-i1750-ps.dts
+++ b/target/linux/ath79/dts/qca9558_elecom_wab-i1750-ps.dts
@@ -5,29 +5,6 @@
/ {
compatible = "elecom,wab-i1750-ps", "qca,qca9558";
model = "ELECOM WAB-I1750-PS";
-
- ahb {
- apb {
- /* "SERIAL" port (RJ-45) on the case */
- uart1: uart@18500000 {
- compatible = "qca,ar9330-uart";
- reg = <0x18500000 0x14>;
-
- pinctrl-names = "default";
- pinctrl-0 = <&pmx_uart1_in_pins &pmx_uart1_out_pins
- &jtag_disable_pins>;
-
- interrupts = <6>;
- interrupt-parent = <&miscintc>;
-
- clocks = <&pll ATH79_CLK_UART1>;
- clock-names = "uart";
-
- /* QCA955x HS UART is not supported */
- status = "disabled";
- };
- };
- };
};
&gpio {
@@ -67,3 +44,11 @@
pinctrl-single,bits = <0x3c 0x3010000 0xffff0000>;
};
};
+
+/* "SERIAL" port (RJ-45) on the case */
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pmx_uart1_in_pins &pmx_uart1_out_pins
+ &jtag_disable_pins>;
+ status = "okay";
+};