1 From bb1a53f1bcb3f4c5983955a1d419c0e4e2531043 Mon Sep 17 00:00:00 2001
2 From: Biwen Li <biwen.li@nxp.com>
3 Date: Fri, 26 Oct 2018 16:00:37 +0800
4 Subject: [PATCH 06/40] arm: dts: ls1021a: Add LS1021A-IOT board support
6 Signed-off-by: Biwen Li <biwen.li@nxp.com>
8 arch/arm/boot/dts/Makefile | 3 +-
9 arch/arm/boot/dts/ls1021a-iot.dts | 262 ++++++++++++++++++++++++++++++
10 2 files changed, 264 insertions(+), 1 deletion(-)
11 create mode 100644 arch/arm/boot/dts/ls1021a-iot.dts
13 --- a/arch/arm/boot/dts/Makefile
14 +++ b/arch/arm/boot/dts/Makefile
15 @@ -496,7 +496,8 @@ dtb-$(CONFIG_SOC_IMX7D) += \
17 dtb-$(CONFIG_SOC_LS1021A) += \
22 dtb-$(CONFIG_SOC_VF610) += \
23 vf500-colibri-eval-v3.dtb \
24 vf610-colibri-eval-v3.dtb \
26 +++ b/arch/arm/boot/dts/ls1021a-iot.dts
29 + * Copyright 2013-2016 Freescale Semiconductor, Inc.
31 + * This program is free software; you can redistribute it and/or modify
32 + * it under the terms of the GNU General Public License as published by
33 + * the Free Software Foundation; either version 2 of the License, or
34 + * (at your option) any later version.
38 +#include "ls1021a.dtsi"
41 + model = "LS1021A IOT Board";
43 + sys_mclk: clock-mclk {
44 + compatible = "fixed-clock";
46 + clock-frequency = <24576000>;
50 + compatible = "simple-bus";
51 + #address-cells = <1>;
54 + reg_3p3v: regulator@0 {
55 + compatible = "regulator-fixed";
57 + regulator-name = "3P3V";
58 + regulator-min-microvolt = <3300000>;
59 + regulator-max-microvolt = <3300000>;
60 + regulator-always-on;
63 + reg_2p5v: regulator@1 {
64 + compatible = "regulator-fixed";
66 + regulator-name = "2P5V";
67 + regulator-min-microvolt = <2500000>;
68 + regulator-max-microvolt = <2500000>;
69 + regulator-always-on;
74 + compatible = "simple-audio-card";
75 + simple-audio-card,format = "i2s";
76 + simple-audio-card,widgets =
77 + "Microphone", "Microphone Jack",
78 + "Headphone", "Headphone Jack",
79 + "Speaker", "Speaker Ext",
80 + "Line", "Line In Jack";
81 + simple-audio-card,routing =
82 + "MIC_IN", "Microphone Jack",
83 + "Microphone Jack", "Mic Bias",
84 + "LINE_IN", "Line In Jack",
85 + "Headphone Jack", "HP_OUT",
86 + "Speaker Ext", "LINE_OUT";
88 + simple-audio-card,cpu {
89 + sound-dai = <&sai2>;
94 + simple-audio-card,codec {
95 + sound-dai = <&codec>;
103 + compatible = "linaro,optee-tz";
110 + tbi-handle = <&tbi1>;
111 + phy-handle = <&phy1>;
112 + phy-connection-type = "sgmii";
117 + tbi-handle = <&tbi1>;
118 + phy-handle = <&phy3>;
119 + phy-connection-type = "sgmii";
124 + fixed-link = <0 1 1000 0 0>;
125 + phy-connection-type = "rgmii-id";
130 + status = "disabled";
134 + status = "disabled";
138 + status = "disabled";
153 + compatible = "maxim,max1239";
155 + #io-channel-cells = <1>;
158 + codec: sgtl5000@2a {
159 + #sound-dai-cells=<0x0>;
160 + compatible = "fsl,sgtl5000";
162 + VDDA-supply = <®_3p3v>;
163 + VDDIO-supply = <®_2p5v>;
164 + clocks = <&sys_mclk 1>;
167 + pca9555: pca9555@23 {
168 + compatible = "nxp,pca9555";
169 + /*pinctrl-names = "default";*/
170 + /*interrupt-parent = <&gpio2>;
171 + interrupts = <19 0x2>;*/
174 + interrupt-controller;
175 + #interrupt-cells = <2>;
180 + compatible = "ti,ina220";
182 + shunt-resistor = <1000>;
186 + compatible = "ti,ina220";
188 + shunt-resistor = <1000>;
192 + compatible = "nxp,lm75a";
197 + compatible = "adt7461a";
201 + hdmi: sii9022a@39 {
202 + compatible = "fsl,sii902x";
204 + interrupts = <GIC_SPI 163 IRQ_TYPE_EDGE_RISING>;
209 + status = "disabled";
213 + status = "disabled";
221 + phy0: ethernet-phy@0 {
224 + phy1: ethernet-phy@1 {
227 + phy2: ethernet-phy@2 {
230 + phy3: ethernet-phy@3 {
235 + device_type = "tbi-phy";
243 + qflash0: s25fl128s@0 {
244 + compatible = "spansion,s25fl129p1";
245 + #address-cells = <1>;
247 + spi-max-frequency = <20000000>;
265 + display = <&display>;
268 + display: display@0 {
269 + bits-per-pixel = <24>;
272 + native-mode = <&timing0>;
275 + clock-frequency = <25000000>;
278 + hback-porch = <80>;
279 + hfront-porch = <80>;
280 + vback-porch = <16>;
281 + vfront-porch = <16>;
284 + hsync-active = <1>;
285 + vsync-active = <1>;