1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright 2016-2018 NXP Semiconductors
3 * Copyright 2019 Vladimir Oltean <olteanv@gmail.com>
7 #include "ls1021a.dtsi"
10 model = "NXP LS1021A-TSN Board";
12 sys_mclk: clock-mclk {
13 compatible = "fixed-clock";
15 clock-frequency = <24576000>;
18 reg_vdda_codec: regulator-3V3 {
19 compatible = "regulator-fixed";
20 regulator-name = "3P3V";
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
26 reg_vddio_codec: regulator-2V5 {
27 compatible = "regulator-fixed";
28 regulator-name = "2P5V";
29 regulator-min-microvolt = <2500000>;
30 regulator-max-microvolt = <2500000>;
39 /* ADG704BRMZ 1:4 SPI mux/demux */
40 sja1105: ethernet-switch@1 {
44 compatible = "nxp,sja1105t";
46 spi-max-frequency = <12000000>;
47 /* Sample data on trailing clock edge */
49 /* SPI controller settings for SJA1105 timing requirements */
50 fsl,spi-cs-sck-delay = <1000>;
51 fsl,spi-sck-cs-delay = <1000>;
58 /* ETH5 written on chassis */
60 phy-handle = <&rgmii_phy6>;
61 phy-mode = "rgmii-id";
66 /* ETH2 written on chassis */
68 phy-handle = <&rgmii_phy3>;
69 phy-mode = "rgmii-id";
74 /* ETH3 written on chassis */
76 phy-handle = <&rgmii_phy4>;
77 phy-mode = "rgmii-id";
82 /* ETH4 written on chassis */
84 phy-handle = <&rgmii_phy5>;
85 phy-mode = "rgmii-id";
90 /* Internal port connected to eth2 */
105 tbi-handle = <&tbi0>;
106 phy-handle = <&sgmii_phy2>;
112 tbi-handle = <&tbi1>;
113 phy-handle = <&sgmii_phy1>;
118 /* RGMII delays added via PCB traces */
136 /* 3 axis accelerometer */
138 compatible = "fsl,fxls8471";
143 /* Audio codec (SAI2) */
145 compatible = "fsl,sgtl5000";
146 VDDIO-supply = <®_vddio_codec>;
147 VDDA-supply = <®_vdda_codec>;
148 #sound-dai-cells = <0>;
149 clocks = <&sys_mclk>;
153 /* Current sensing circuit for 1V VDDCORE PMIC rail */
155 compatible = "ti,ina220";
156 shunt-resistor = <1000>;
160 /* Current sensing circuit for 12V VCC rail */
162 compatible = "ti,ina220";
163 shunt-resistor = <1000>;
167 /* Thermal monitor - case */
168 temperature-sensor@48 {
169 compatible = "national,lm75";
173 /* Thermal monitor - chip */
174 temperature-sensor@4c {
175 compatible = "ti,tmp451";
180 compatible = "atmel,24c32";
184 /* Unsupported devices:
185 * - FXAS21002C Gyroscope at 0x20
186 * - TI ADS7924 4-channel ADC at 0x49
204 sgmii_phy1: ethernet-phy@1 {
206 /* SGMII1_PHY_INT_B: connected to IRQ2, active low */
207 interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
211 sgmii_phy2: ethernet-phy@2 {
213 /* SGMII2_PHY_INT_B: connected to IRQ2, active low */
214 interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
217 /* BCM5464 quad PHY */
218 rgmii_phy3: ethernet-phy@3 {
222 rgmii_phy4: ethernet-phy@4 {
226 rgmii_phy5: ethernet-phy@5 {
230 rgmii_phy6: ethernet-phy@6 {
234 /* SGMII PCS for enet0 */
237 device_type = "tbi-phy";
242 /* SGMII PCS for enet1 */
245 device_type = "tbi-phy";
253 /* Rev. A uses 64MB flash, Rev. B & C use 32MB flash */
254 compatible = "jedec,spi-nor", "s25fl256s1", "s25fl512s";
255 spi-max-frequency = <20000000>;
256 #address-cells = <1>;
261 compatible = "fixed-partitions";
262 #address-cells = <1>;
272 reg = <0x40000 0x300000>;
276 label = "U-Boot Env";
277 reg = <0x340000 0x100000>;