Skip to content

Commit a1b4678

Browse files
committed
Merge tag 'zynq-dt-for-6.15' of https://github.com/Xilinx/linux-xlnx into soc/dt
arm64: Zynq DT changes for 6.15 - Align platforms with dt-schema - Describe QSPI * tag 'zynq-dt-for-6.15' of https://github.com/Xilinx/linux-xlnx: ARM: zynq: Do not define address/size-cells for nand-controller ARM: zynq: Remove ethernet0 alias from Microzed ARM: zynq: Add sdhci to alias node ARM: zynq: Enable QSPIs on platforms ARM: zynq: Fix fpga region DT nodes name ARM: zynq: Rename i2c?-gpio to i2c?-gpio-grp ARM: zynq: Define rtc alias on zc702/zc706 ARM: zynq: Point via nvmem0 alias to eeprom on zc702/zc706 ARM: zynq: Define u-boot bootscrip addr via DT ARM: zynq: Wire smcc with nand/nor memories on zc770 platform ARM: zynq: Mark boot-phase-specific device nodes ARM: zynq: DT: List OCM memory for all platforms ARM: zynq: Remove deprecated device_type property ARM: zynq: Replace 'io-standard' with 'power-source' property Link: https://lore.kernel.org/r/CAHTX3d+DZo3thrakBf=QCq91QFeChoizuhVa6oBBj9E+sdEXAQ@mail.gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 32e0c5f + 6fd9020 commit a1b4678

15 files changed

Lines changed: 404 additions & 51 deletions

arch/arm/boot/dts/xilinx/zynq-7000.dtsi

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
#size-cells = <1>;
99
compatible = "xlnx,zynq-7000";
1010

11+
options {
12+
u-boot {
13+
compatible = "u-boot,config";
14+
bootscr-address = /bits/ 64 <0x3000000>;
15+
};
16+
};
17+
1118
cpus {
1219
#address-cells = <1>;
1320
#size-cells = <0>;
@@ -34,7 +41,7 @@
3441
};
3542
};
3643

37-
fpga_full: fpga-full {
44+
fpga_full: fpga-region {
3845
compatible = "fpga-region";
3946
fpga-mgr = <&devcfg>;
4047
#address-cells = <1>;
@@ -93,6 +100,7 @@
93100
};
94101

95102
amba: axi {
103+
bootph-all;
96104
compatible = "simple-bus";
97105
#address-cells = <1>;
98106
#size-cells = <1>;
@@ -190,6 +198,17 @@
190198
reg = <0xf8006000 0x1000>;
191199
};
192200

201+
ocm: sram@fffc0000 {
202+
compatible = "mmio-sram";
203+
reg = <0xfffc0000 0x10000>;
204+
#address-cells = <1>;
205+
#size-cells = <1>;
206+
ranges = <0 0xfffc0000 0x10000>;
207+
ocm-sram@0 {
208+
reg = <0x0 0x10000>;
209+
};
210+
};
211+
193212
uart0: serial@e0000000 {
194213
compatible = "xlnx,xuartps", "cdns,uart-r1p8";
195214
status = "disabled";
@@ -277,13 +296,18 @@
277296
0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */
278297
#address-cells = <2>;
279298
#size-cells = <1>;
299+
interrupt-parent = <&intc>;
300+
interrupts = <0 18 4>;
280301

281302
nfc0: nand-controller@0,0 {
282303
compatible = "arm,pl353-nand-r2p1";
283304
reg = <0 0 0x1000000>;
284305
status = "disabled";
285-
#address-cells = <1>;
286-
#size-cells = <0>;
306+
};
307+
nor0: flash@1,0 {
308+
status = "disabled";
309+
compatible = "cfi-flash";
310+
reg = <1 0 0x2000000>;
287311
};
288312
};
289313

@@ -308,12 +332,14 @@
308332
};
309333

310334
slcr: slcr@f8000000 {
335+
bootph-all;
311336
#address-cells = <1>;
312337
#size-cells = <1>;
313338
compatible = "xlnx,zynq-slcr", "syscon", "simple-mfd";
314339
reg = <0xF8000000 0x1000>;
315340
ranges;
316341
clkc: clkc@100 {
342+
bootph-all;
317343
#clock-cells = <1>;
318344
compatible = "xlnx,ps7-clkc";
319345
fclk-enable = <0>;
@@ -398,6 +424,7 @@
398424
};
399425

400426
scutimer: timer@f8f00600 {
427+
bootph-all;
401428
interrupt-parent = <&intc>;
402429
interrupts = <1 13 0x301>;
403430
compatible = "arm,cortex-a9-twd-timer";

arch/arm/boot/dts/xilinx/zynq-cc108.dts

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
aliases {
1919
ethernet0 = &gem0;
2020
serial0 = &uart0;
21+
spi0 = &qspi;
2122
};
2223

2324
chosen {
@@ -48,7 +49,44 @@
4849

4950
ethernet_phy: ethernet-phy@1 {
5051
reg = <1>;
51-
device_type = "ethernet-phy";
52+
};
53+
};
54+
55+
&qspi {
56+
status = "okay";
57+
num-cs = <1>;
58+
flash@0 { /* 16 MB */
59+
compatible = "jedec,spi-nor";
60+
reg = <0x0>;
61+
spi-max-frequency = <50000000>;
62+
spi-tx-bus-width = <1>;
63+
spi-rx-bus-width = <4>;
64+
#address-cells = <1>;
65+
#size-cells = <1>;
66+
partition@0 {
67+
label = "qspi-fsbl-uboot-bs";
68+
reg = <0x0 0x400000>; /* 4MB */
69+
};
70+
partition@400000 {
71+
label = "qspi-linux";
72+
reg = <0x400000 0x400000>; /* 4MB */
73+
};
74+
partition@800000 {
75+
label = "qspi-rootfs";
76+
reg = <0x800000 0x400000>; /* 4MB */
77+
};
78+
partition@c00000 {
79+
label = "qspi-devicetree";
80+
reg = <0xc00000 0x100000>; /* 1MB */
81+
};
82+
partition@d00000 {
83+
label = "qspi-scratch";
84+
reg = <0xd00000 0x200000>; /* 2MB */
85+
};
86+
partition@f00000 {
87+
label = "qspi-uboot-env";
88+
reg = <0xf00000 0x100000>; /* 1MB */
89+
};
5290
};
5391
};
5492

@@ -59,6 +97,7 @@
5997
};
6098

6199
&uart0 {
100+
bootph-all;
62101
status = "okay";
63102
};
64103

arch/arm/boot/dts/xilinx/zynq-ebaz4205.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
&nfc0 {
5252
status = "okay";
5353

54+
#address-cells = <1>;
55+
#size-cells = <0>;
5456
nand@0 {
5557
reg = <0>;
5658
};

arch/arm/boot/dts/xilinx/zynq-microzed.dts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
compatible = "avnet,zynq-microzed", "xlnx,zynq-microzed", "xlnx,zynq-7000";
1212

1313
aliases {
14-
ethernet0 = &gem0;
1514
serial0 = &uart1;
15+
spi0 = &qspi;
16+
mmc0 = &sdhci0;
1617
};
1718

1819
memory@0 {
@@ -35,6 +36,11 @@
3536
ps-clk-frequency = <33333333>;
3637
};
3738

39+
&qspi {
40+
bootph-all;
41+
status = "okay";
42+
};
43+
3844
&gem0 {
3945
status = "okay";
4046
phy-mode = "rgmii-id";
@@ -46,10 +52,12 @@
4652
};
4753

4854
&sdhci0 {
55+
bootph-all;
4956
status = "okay";
5057
};
5158

5259
&uart1 {
60+
bootph-all;
5361
status = "okay";
5462
};
5563

arch/arm/boot/dts/xilinx/zynq-parallella.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
compatible = "ethernet-phy-id0141.0e90",
4747
"ethernet-phy-ieee802.3-c22";
4848
reg = <0>;
49-
device_type = "ethernet-phy";
5049
marvell,reg-init = <0x3 0x10 0xff00 0x1e>,
5150
<0x3 0x11 0xfff0 0xa>;
5251
};

0 commit comments

Comments
 (0)