1 From 55e00e402d6143aeb153761f8144d9fee5f1f009 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] arm: dts: ls1021a: Add LS1021A-IOT board support
6 Signed-off-by: Biwen Li <biwen.li@nxp.com>
8 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
10 arch/arm/boot/dts/Makefile | 3 +-
11 arch/arm/boot/dts/ls1021a-iot.dts | 262 ++++++++++++++++++++++++++++++++++++++
12 2 files changed, 264 insertions(+), 1 deletion(-)
13 create mode 100644 arch/arm/boot/dts/ls1021a-iot.dts
15 --- a/arch/arm/boot/dts/Makefile
16 +++ b/arch/arm/boot/dts/Makefile
17 @@ -611,7 +611,8 @@ dtb-$(CONFIG_SOC_LS1021A) += \
18 ls1021a-moxa-uc-8410a.dtb \
24 dtb-$(CONFIG_SOC_VF610) += \
25 vf500-colibri-eval-v3.dtb \
28 +++ b/arch/arm/boot/dts/ls1021a-iot.dts
31 + * Copyright 2013-2016 Freescale Semiconductor, Inc.
33 + * This program is free software; you can redistribute it and/or modify
34 + * it under the terms of the GNU General Public License as published by
35 + * the Free Software Foundation; either version 2 of the License, or
36 + * (at your option) any later version.
40 +#include "ls1021a.dtsi"
43 + model = "LS1021A IOT Board";
45 + sys_mclk: clock-mclk {
46 + compatible = "fixed-clock";
48 + clock-frequency = <24576000>;
52 + compatible = "simple-bus";
53 + #address-cells = <1>;
56 + reg_3p3v: regulator@0 {
57 + compatible = "regulator-fixed";
59 + regulator-name = "3P3V";
60 + regulator-min-microvolt = <3300000>;
61 + regulator-max-microvolt = <3300000>;
62 + regulator-always-on;
65 + reg_2p5v: regulator@1 {
66 + compatible = "regulator-fixed";
68 + regulator-name = "2P5V";
69 + regulator-min-microvolt = <2500000>;
70 + regulator-max-microvolt = <2500000>;
71 + regulator-always-on;
76 + compatible = "simple-audio-card";
77 + simple-audio-card,format = "i2s";
78 + simple-audio-card,widgets =
79 + "Microphone", "Microphone Jack",
80 + "Headphone", "Headphone Jack",
81 + "Speaker", "Speaker Ext",
82 + "Line", "Line In Jack";
83 + simple-audio-card,routing =
84 + "MIC_IN", "Microphone Jack",
85 + "Microphone Jack", "Mic Bias",
86 + "LINE_IN", "Line In Jack",
87 + "Headphone Jack", "HP_OUT",
88 + "Speaker Ext", "LINE_OUT";
90 + simple-audio-card,cpu {
91 + sound-dai = <&sai2>;
96 + simple-audio-card,codec {
97 + sound-dai = <&codec>;
105 + compatible = "linaro,optee-tz";
112 + tbi-handle = <&tbi1>;
113 + phy-handle = <&phy1>;
114 + phy-connection-type = "sgmii";
119 + tbi-handle = <&tbi1>;
120 + phy-handle = <&phy3>;
121 + phy-connection-type = "sgmii";
126 + fixed-link = <0 1 1000 0 0>;
127 + phy-connection-type = "rgmii-id";
132 + status = "disabled";
136 + status = "disabled";
140 + status = "disabled";
155 + compatible = "maxim,max1239";
157 + #io-channel-cells = <1>;
160 + codec: sgtl5000@2a {
161 + #sound-dai-cells=<0x0>;
162 + compatible = "fsl,sgtl5000";
164 + VDDA-supply = <®_3p3v>;
165 + VDDIO-supply = <®_2p5v>;
166 + clocks = <&sys_mclk 1>;
169 + pca9555: pca9555@23 {
170 + compatible = "nxp,pca9555";
171 + /*pinctrl-names = "default";*/
172 + /*interrupt-parent = <&gpio2>;
173 + interrupts = <19 0x2>;*/
176 + interrupt-controller;
177 + #interrupt-cells = <2>;
182 + compatible = "ti,ina220";
184 + shunt-resistor = <1000>;
188 + compatible = "ti,ina220";
190 + shunt-resistor = <1000>;
194 + compatible = "nxp,lm75a";
199 + compatible = "adt7461a";
203 + hdmi: sii9022a@39 {
204 + compatible = "fsl,sii902x";
206 + interrupts = <GIC_SPI 163 IRQ_TYPE_EDGE_RISING>;
211 + status = "disabled";
215 + status = "disabled";
223 + phy0: ethernet-phy@0 {
226 + phy1: ethernet-phy@1 {
229 + phy2: ethernet-phy@2 {
232 + phy3: ethernet-phy@3 {
237 + device_type = "tbi-phy";
245 + qflash0: s25fl128s@0 {
246 + compatible = "spansion,s25fl129p1";
247 + #address-cells = <1>;
249 + spi-max-frequency = <20000000>;
267 + display = <&display>;
270 + display: display@0 {
271 + bits-per-pixel = <24>;
274 + native-mode = <&timing0>;
277 + clock-frequency = <25000000>;
280 + hback-porch = <80>;
281 + hfront-porch = <80>;
282 + vback-porch = <16>;
283 + vfront-porch = <16>;
286 + hsync-active = <1>;
287 + vsync-active = <1>;