2 * Copyright (C) 2017 Moxa Inc. - https://www.moxa.com/
4 * Author: Harry YJ Jhou (周亞諄) <harryyj.jhou@moxa.com>
5 * Jimmy Chen (陳永達) <jimmy.chen@moxa.com>
6 * SZ Lin (林上智) <sz.lin@moxa.com>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/input.h>
17 #include "ls1021a.dtsi"
20 model = "Moxa UC-8410A";
21 compatible = "fsl,ls1021a-moxa-uc-8410a", "fsl,ls1021a";
24 enet0_rgmii_phy = &rgmii_phy0;
25 enet1_rgmii_phy = &rgmii_phy1;
26 enet2_rgmii_phy = &rgmii_phy2;
29 sys_mclk: clock-mclk {
30 compatible = "fixed-clock";
32 clock-frequency = <24576000>;
35 reg_3p3v: regulator-3p3v {
36 compatible = "regulator-fixed";
37 regulator-name = "3P3V";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
44 compatible = "gpio-leds";
47 label = "UC8410A:CEL-PWR";
48 gpios = <&gpio3 27 GPIO_ACTIVE_LOW>;
49 default-state = "off";
53 label = "UC8410A:CEL-RESET";
54 gpios = <&gpio3 28 GPIO_ACTIVE_LOW>;
55 default-state = "off";
59 label = "UC8410A:RED:PROG";
60 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
61 linux,default-trigger = "mmc0";
65 label = "UC8410A:GREEN:SWRDY";
66 gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
71 label = "UC8410A:BEEP";
72 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
73 default-state = "off";
77 label = "UC8410A:GREEN:PROG2";
78 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
79 default-state = "off";
83 label = "UC8410A:GREEN:PROG1";
84 gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
85 default-state = "off";
89 label = "UC8410A:GREEN:PROG0";
90 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
91 default-state = "off";
95 label = "UC8410A:GREEN:CEL2";
96 gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>;
97 default-state = "off";
101 label = "UC8410A:GREEN:CEL1";
102 gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
103 default-state = "off";
107 label = "UC8410A:GREEN:CEL0";
108 gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
109 default-state = "off";
113 label = "UC8410A:RED:DIA";
114 gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
115 default-state = "off";
119 label = "UC8410A:GREEN:DIA";
120 gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
121 default-state = "off";
125 label = "UC8410A:YELLOW:DIA";
126 gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
127 default-state = "off";
132 compatible = "gpio-keys";
135 label = "push button key";
136 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
137 linux,code = <BTN_MISC>;
138 default-state = "on";
144 phy-handle = <&rgmii_phy0>;
145 phy-connection-type = "rgmii-id";
150 phy-handle = <&rgmii_phy1>;
151 phy-connection-type = "rgmii-id";
156 phy-handle = <&rgmii_phy2>;
157 phy-connection-type = "rgmii-id";
162 clock-frequency = <100000>;
166 compatible = "infineon,slb9635tt";
171 compatible = "dallas,ds1374";
181 rgmii_phy0: ethernet-phy@0 {
182 compatible = "marvell,88e1118";
185 <3 0x11 0 0x4415>, /* Reg 3,17 */
186 <3 0x10 0 0x77>; /* Reg 3,16 */
189 rgmii_phy1: ethernet-phy@1 {
190 compatible = "marvell,88e1118";
193 <3 0x11 0 0x4415>, /* Reg 3,17 */
194 <3 0x10 0 0x77>; /* Reg 3,16 */
197 rgmii_phy2: ethernet-phy@2 {
198 compatible = "marvell,88e1118";
201 <3 0x11 0 0x4415>, /* Reg 3,17 */
202 <3 0x10 0 0x77>; /* Reg 3,16 */
207 fsl,qspi-has-second-chip;
211 compatible = "spansion,s25fl064l", "spansion,s25fl164k";
212 #address-cells = <1>;
214 spi-max-frequency = <20000000>;
215 spi-rx-bus-width = <4>;
216 spi-tx-bus-width = <4>;
221 reg = <0x0 0x180000>;
225 label = "U-Boot Env";
226 reg = <0x180000 0x680000>;