1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2017 Moxa Inc. - https://www.moxa.com/
5 * Author: Harry YJ Jhou (周亞諄) <harryyj.jhou@moxa.com>
6 * Jimmy Chen (陳永達) <jimmy.chen@moxa.com>
7 * SZ Lin (林上智) <sz.lin@moxa.com>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include "ls1021a.dtsi"
17 model = "Moxa UC-8410A";
18 compatible = "fsl,ls1021a-moxa-uc-8410a", "fsl,ls1021a";
21 enet0_rgmii_phy = &rgmii_phy0;
22 enet1_rgmii_phy = &rgmii_phy1;
23 enet2_rgmii_phy = &rgmii_phy2;
26 sys_mclk: clock-mclk {
27 compatible = "fixed-clock";
29 clock-frequency = <24576000>;
32 reg_3p3v: regulator-3p3v {
33 compatible = "regulator-fixed";
34 regulator-name = "3P3V";
35 regulator-min-microvolt = <3300000>;
36 regulator-max-microvolt = <3300000>;
41 compatible = "gpio-leds";
44 label = "UC8410A:CEL-PWR";
45 gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
46 default-state = "off";
50 label = "UC8410A:CEL-RESET";
51 gpios = <&gpio3 28 GPIO_ACTIVE_LOW>;
52 default-state = "off";
56 label = "UC8410A:RED:PROG";
57 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "mmc0";
62 label = "UC8410A:GREEN:SWRDY";
63 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
68 label = "UC8410A:BEEP";
69 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
70 default-state = "off";
74 label = "UC8410A:GREEN:PROG2";
75 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
76 default-state = "off";
80 label = "UC8410A:GREEN:PROG1";
81 gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
82 default-state = "off";
86 label = "UC8410A:GREEN:PROG0";
87 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
88 default-state = "off";
92 label = "UC8410A:GREEN:CEL2";
93 gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
94 default-state = "off";
98 label = "UC8410A:GREEN:CEL1";
99 gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
100 default-state = "off";
104 label = "UC8410A:GREEN:CEL0";
105 gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
106 default-state = "off";
110 label = "UC8410A:RED:DIA";
111 gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
112 default-state = "off";
116 label = "UC8410A:GREEN:DIA";
117 gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
118 default-state = "off";
122 label = "UC8410A:YELLOW:DIA";
123 gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
124 default-state = "off";
129 compatible = "gpio-keys";
132 label = "push button key";
133 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
134 linux,code = <BTN_MISC>;
135 default-state = "on";
141 phy-handle = <&rgmii_phy0>;
142 phy-connection-type = "rgmii-id";
147 phy-handle = <&rgmii_phy1>;
148 phy-connection-type = "rgmii-id";
153 phy-handle = <&rgmii_phy2>;
154 phy-connection-type = "rgmii-id";
159 clock-frequency = <100000>;
163 compatible = "infineon,slb9635tt";
168 compatible = "dallas,ds1374";
178 rgmii_phy0: ethernet-phy@0 {
179 compatible = "marvell,88e1118";
182 <3 0x11 0 0x4415>, /* Reg 3,17 */
183 <3 0x10 0 0x77>; /* Reg 3,16 */
186 rgmii_phy1: ethernet-phy@1 {
187 compatible = "marvell,88e1118";
190 <3 0x11 0 0x4415>, /* Reg 3,17 */
191 <3 0x10 0 0x77>; /* Reg 3,16 */
194 rgmii_phy2: ethernet-phy@2 {
195 compatible = "marvell,88e1118";
198 <3 0x11 0 0x4415>, /* Reg 3,17 */
199 <3 0x10 0 0x77>; /* Reg 3,16 */
207 compatible = "spansion,s25fl064l", "spansion,s25fl164k";
208 #address-cells = <1>;
210 spi-max-frequency = <20000000>;
211 spi-rx-bus-width = <4>;
212 spi-tx-bus-width = <4>;
217 reg = <0x0 0x180000>;
221 label = "U-Boot Env";
222 reg = <0x180000 0x680000>;