~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/nxp/ls/ls1021a-iot.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Copyright 2021-2022 NXP
  4  *
  5  */
  6 
  7 /dts-v1/;
  8 #include "ls1021a.dtsi"
  9 
 10 / {
 11         model = "LS1021A-IOT Board";
 12         compatible = "fsl,ls1021a-iot", "fsl,ls1021a";
 13 
 14         sys_mclk: clock-mclk {
 15                 compatible = "fixed-clock";
 16                 #clock-cells = <0>;
 17                 clock-frequency = <24576000>;
 18         };
 19 
 20         reg_3p3v: regulator-3V3 {
 21                 compatible = "regulator-fixed";
 22                 regulator-name = "3P3V";
 23                 regulator-min-microvolt = <3300000>;
 24                 regulator-max-microvolt = <3300000>;
 25                 regulator-always-on;
 26         };
 27 
 28         reg_2p5v: regulator-2V5 {
 29                 compatible = "regulator-fixed";
 30                 regulator-name = "2P5V";
 31                 regulator-min-microvolt = <2500000>;
 32                 regulator-max-microvolt = <2500000>;
 33                 regulator-always-on;
 34         };
 35 
 36         sound {
 37                 compatible = "simple-audio-card";
 38                 simple-audio-card,format = "i2s";
 39                 simple-audio-card,widgets =
 40                         "Microphone", "Microphone Jack",
 41                         "Headphone", "Headphone Jack",
 42                         "Speaker", "Speaker Ext",
 43                         "Line", "Line In Jack";
 44                 simple-audio-card,routing =
 45                         "MIC_IN", "Microphone Jack",
 46                         "Microphone Jack", "Mic Bias",
 47                         "LINE_IN", "Line In Jack",
 48                         "Headphone Jack", "HP_OUT",
 49                         "Speaker Ext", "LINE_OUT";
 50 
 51                 simple-audio-card,cpu {
 52                         sound-dai = <&sai2>;
 53                         frame-master;
 54                         bitclock-master;
 55                 };
 56 
 57                 simple-audio-card,codec {
 58                         sound-dai = <&sgtl5000>;
 59                         frame-master;
 60                         bitclock-master;
 61                 };
 62         };
 63 };
 64 
 65 &can0 {
 66         status = "disabled";
 67 };
 68 
 69 &can1 {
 70         status = "disabled";
 71 };
 72 
 73 &can2 {
 74         status = "disabled";
 75 };
 76 
 77 &can3 {
 78         status = "okay";
 79 };
 80 
 81 &dcu {
 82         display = <&display>;
 83         status = "okay";
 84 
 85         display: display@0 {
 86                 bits-per-pixel = <24>;
 87 
 88                 display-timings {
 89                         native-mode = <&timing0>;
 90 
 91                         timing0: mode0 {
 92                                 clock-frequency = <25000000>;
 93                                 hactive = <640>;
 94                                 vactive = <480>;
 95                                 hback-porch = <80>;
 96                                 hfront-porch = <80>;
 97                                 vback-porch = <16>;
 98                                 vfront-porch = <16>;
 99                                 hsync-len = <12>;
100                                 vsync-len = <2>;
101                                 hsync-active = <1>;
102                                 vsync-active = <1>;
103                         };
104                 };
105         };
106 };
107 
108 &enet0 {
109         tbi-handle = <&tbi1>;
110         phy-handle = <&phy1>;
111         phy-connection-type = "sgmii";
112         status = "okay";
113 };
114 
115 &enet1 {
116         tbi-handle = <&tbi1>;
117         phy-handle = <&phy3>;
118         phy-connection-type = "sgmii";
119         status = "okay";
120 };
121 
122 &enet2 {
123         fixed-link = <0 1 1000 0 0>;
124         phy-connection-type = "rgmii-id";
125         status = "okay";
126 };
127 
128 &esdhc {
129         status = "okay";
130 };
131 
132 &i2c0 {
133         status = "okay";
134 
135         pca9555: gpio@23 {
136                 compatible = "nxp,pca9555";
137                 reg = <0x23>;
138                 gpio-controller;
139                 #gpio-cells = <2>;
140                 interrupt-controller;
141                 #interrupt-cells = <2>;
142         };
143 
144         sgtl5000: audio-codec@2a {
145                 #sound-dai-cells = <0x0>;
146                 compatible = "fsl,sgtl5000";
147                 reg = <0x2a>;
148                 VDDA-supply = <&reg_3p3v>;
149                 VDDIO-supply = <&reg_2p5v>;
150                 clocks = <&sys_mclk>;
151         };
152 
153         max1239: adc@35 {
154                 compatible = "maxim,max1239";
155                 reg = <0x35>;
156                 #io-channel-cells = <1>;
157         };
158 
159         ina2201: core-monitor@44 {
160                 compatible = "ti,ina220";
161                 reg = <0x44>;
162                 shunt-resistor = <1000>;
163         };
164 
165         ina2202: current-monitor@45 {
166                 compatible = "ti,ina220";
167                 reg = <0x45>;
168                 shunt-resistor = <1000>;
169         };
170 
171         lm75b: thermal-monitor@48 {
172                 compatible = "national,lm75b";
173                 reg = <0x48>;
174         };
175 };
176 
177 &lpuart0 {
178         status = "okay";
179 };
180 
181 &mdio0 {
182         phy0: ethernet-phy@0 {
183                 reg = <0x0>;
184         };
185 
186         phy1: ethernet-phy@1 {
187                 reg = <0x1>;
188         };
189 
190         phy2: ethernet-phy@2 {
191                 reg = <0x2>;
192         };
193 
194         phy3: ethernet-phy@3 {
195                 reg = <0x3>;
196         };
197 
198         tbi1: tbi-phy@1f {
199                 reg = <0x1f>;
200                 device_type = "tbi-phy";
201         };
202 };
203 
204 &qspi {
205         num-cs = <2>;
206         status = "okay";
207 
208         s25fl128s: flash@0 {
209                 compatible = "jedec,spi-nor";
210                 #address-cells = <1>;
211                 #size-cells = <1>;
212                 spi-max-frequency = <20000000>;
213                 reg = <0>;
214         };
215 };
216 
217 &sai2 {
218         status = "okay";
219 };
220 
221 &uart0 {
222         status = "okay";
223 };
224 
225 &uart1 {
226         status = "okay";
227 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php