1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright 2013-2014 Freescale Semiconductor, Inc.
8 #include "ls1021a.dtsi"
11 model = "LS1021A TWR Board";
12 compatible = "fsl,ls1021a-twr", "fsl,ls1021a";
15 enet2_rgmii_phy = &rgmii_phy1;
16 enet0_sgmii_phy = &sgmii_phy2;
17 enet1_sgmii_phy = &sgmii_phy0;
20 sys_mclk: clock-mclk {
21 compatible = "fixed-clock";
23 clock-frequency = <24576000>;
27 compatible = "regulator-fixed";
28 regulator-name = "3P3V";
29 regulator-min-microvolt = <3300000>;
30 regulator-max-microvolt = <3300000>;
35 compatible = "simple-audio-card";
36 simple-audio-card,format = "i2s";
37 simple-audio-card,widgets =
38 "Microphone", "Microphone Jack",
39 "Headphone", "Headphone Jack",
40 "Speaker", "Speaker Ext",
41 "Line", "Line In Jack";
42 simple-audio-card,routing =
43 "MIC_IN", "Microphone Jack",
44 "Microphone Jack", "Mic Bias",
45 "LINE_IN", "Line In Jack",
46 "Headphone Jack", "HP_OUT",
47 "Speaker Ext", "LINE_OUT";
49 simple-audio-card,cpu {
55 simple-audio-card,codec {
63 compatible = "nec,nl4827hc19-05b";
67 remote-endpoint = <&dcu_out>;
78 remote-endpoint = <&panel_in>;
87 dspiflash: s25fl064k@0 {
90 compatible = "spansion,s25fl064k";
91 spi-max-frequency = <16000000>;
100 phy-handle = <&sgmii_phy2>;
101 phy-connection-type = "sgmii";
106 tbi-handle = <&tbi1>;
107 phy-handle = <&sgmii_phy0>;
108 phy-connection-type = "sgmii";
113 phy-handle = <&rgmii_phy1>;
114 phy-connection-type = "rgmii-id";
122 compatible = "ti,ina220";
124 shunt-resistor = <1000>;
128 compatible = "ti,ina220";
130 shunt-resistor = <1000>;
138 #sound-dai-cells = <0>;
139 compatible = "fsl,sgtl5000";
141 VDDA-supply = <®_3p3v>;
142 VDDIO-supply = <®_3p3v>;
143 clocks = <&sys_mclk>;
148 #address-cells = <2>;
150 /* NOR Flash on board */
151 ranges = <0x0 0x0 0x0 0x60000000 0x08000000>;
155 #address-cells = <1>;
157 compatible = "cfi-flash";
158 reg = <0x0 0x0 0x8000000>;
170 sgmii_phy0: ethernet-phy@0 {
173 rgmii_phy1: ethernet-phy@1 {
176 sgmii_phy2: ethernet-phy@2 {
181 device_type = "tbi-phy";
188 device_type = "tbi-phy";
199 n25q128a130: flash@0 {
200 compatible = "jedec,spi-nor";
201 #address-cells = <1>;
203 spi-max-frequency = <50000000>;
205 spi-rx-bus-width = <4>;
206 spi-tx-bus-width = <4>;