Skip to content

Commit 8897f32

Browse files
bhaskar-123Shawn Guo
authored andcommitted
arm64: dts: Add support for NXP LS1028A SoC
LS1028A contains two ARM v8 CortexA72 processor cores with 32 KB L1-D cache and 48 KB L1-I cache Features summary Two 32-bit / 64-bit ARM v8 Cortex-A72 CPUs - Arranged as single clusters of two cores sharing a 1 MB L2 cache - Speed Up to 1.3 GHz - Support for cluster power-gating. Cache coherent interconnect (CCI-400) - Hardware-managed data coherency - Up to 400 MHz 32-bit DDR4 SDRAM memory controller with ECC Two PCIe 3.0 controllers One serial ATA (SATA 3.0) controller Two high-speed USB 3.0 controllers with integrated PHY Following levels of DTSI/DTS files have been created for the LS1028A SoC family: - fsl-ls1028a.dtsi: DTS-Include file for NXP LS1028A SoC. - fsl-ls1028a-qds.dts: DTS file for NXP LS1028A QDS board. - fsl-ls1028a-rdb.dts: DTS file for NXP LS1028A RDB board Signed-off-by: Sudhanshu Gupta <[email protected]> Signed-off-by: Rai Harninder <[email protected]> Signed-off-by: Bhaskar Upadhaya <[email protected]> Acked-by: Li Yang <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 1fa35bc commit 8897f32

File tree

4 files changed

+507
-0
lines changed

4 files changed

+507
-0
lines changed

arch/arm64/boot/dts/freescale/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frdm.dtb
33
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frwy.dtb
44
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-qds.dtb
55
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-rdb.dtb
6+
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds.dtb
7+
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-rdb.dtb
68
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds.dtb
79
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb
810
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds.dtb
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Device Tree file for NXP LS1028A QDS Board.
4+
*
5+
* Copyright 2018 NXP
6+
*
7+
* Harninder Rai <[email protected]>
8+
*
9+
*/
10+
11+
/dts-v1/;
12+
13+
#include "fsl-ls1028a.dtsi"
14+
15+
/ {
16+
model = "LS1028A QDS Board";
17+
compatible = "fsl,ls1028a-qds", "fsl,ls1028a";
18+
19+
aliases {
20+
gpio0 = &gpio1;
21+
gpio1 = &gpio2;
22+
gpio2 = &gpio3;
23+
serial0 = &duart0;
24+
serial1 = &duart1;
25+
};
26+
27+
chosen {
28+
stdout-path = "serial0:115200n8";
29+
};
30+
31+
memory@80000000 {
32+
device_type = "memory";
33+
reg = <0x0 0x80000000 0x1 0x00000000>;
34+
};
35+
};
36+
37+
&duart0 {
38+
status = "okay";
39+
};
40+
41+
&duart1 {
42+
status = "okay";
43+
};
44+
45+
&i2c0 {
46+
status = "okay";
47+
48+
i2c-mux@77 {
49+
compatible = "nxp,pca9847";
50+
reg = <0x77>;
51+
#address-cells = <1>;
52+
#size-cells = <0>;
53+
54+
i2c@2 {
55+
#address-cells = <1>;
56+
#size-cells = <0>;
57+
reg = <0x2>;
58+
59+
current-monitor@40 {
60+
compatible = "ti,ina220";
61+
reg = <0x40>;
62+
shunt-resistor = <1000>;
63+
};
64+
65+
current-monitor@41 {
66+
compatible = "ti,ina220";
67+
reg = <0x41>;
68+
shunt-resistor = <1000>;
69+
};
70+
};
71+
72+
i2c@3 {
73+
#address-cells = <1>;
74+
#size-cells = <0>;
75+
reg = <0x3>;
76+
77+
rtc@51 {
78+
compatible = "nxp,pcf2129";
79+
reg = <0x51>;
80+
};
81+
82+
eeprom@56 {
83+
compatible = "atmel,24c512";
84+
reg = <0x56>;
85+
};
86+
87+
eeprom@57 {
88+
compatible = "atmel,24c512";
89+
reg = <0x57>;
90+
};
91+
};
92+
};
93+
};
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Device Tree file for NXP LS1028A RDB Board.
4+
*
5+
* Copyright 2018 NXP
6+
*
7+
* Harninder Rai <[email protected]>
8+
*
9+
*/
10+
11+
/dts-v1/;
12+
#include "fsl-ls1028a.dtsi"
13+
14+
/ {
15+
model = "LS1028A RDB Board";
16+
compatible = "fsl,ls1028a-rdb", "fsl,ls1028a";
17+
18+
aliases {
19+
serial0 = &duart0;
20+
serial1 = &duart1;
21+
};
22+
23+
chosen {
24+
stdout-path = "serial0:115200n8";
25+
};
26+
27+
memory@80000000 {
28+
device_type = "memory";
29+
reg = <0x0 0x80000000 0x1 0x0000000>;
30+
};
31+
};
32+
33+
&i2c0 {
34+
status = "okay";
35+
36+
i2c-mux@77 {
37+
compatible = "nxp,pca9847";
38+
reg = <0x77>;
39+
#address-cells = <1>;
40+
#size-cells = <0>;
41+
42+
i2c@2 {
43+
#address-cells = <1>;
44+
#size-cells = <0>;
45+
reg = <0x02>;
46+
47+
current-monitor@40 {
48+
compatible = "ti,ina220";
49+
reg = <0x40>;
50+
shunt-resistor = <500>;
51+
};
52+
};
53+
54+
i2c@3 {
55+
#address-cells = <1>;
56+
#size-cells = <0>;
57+
reg = <0x3>;
58+
59+
rtc@51 {
60+
compatible = "nxp,pcf2129";
61+
reg = <0x51>;
62+
};
63+
};
64+
};
65+
};
66+
67+
&duart0 {
68+
status = "okay";
69+
};
70+
71+
&duart1 {
72+
status = "okay";
73+
};

0 commit comments

Comments
 (0)