Skip to content

Commit 2f8b1ce

Browse files
committed
Merge tag 'mvebu-fixes-5.0-2' of git://git.infradead.org/linux-mvebu into arm/fixes
mvebu fixes for 5.0 (part 2) Fix PHY reset signal on clearfog gt 8K (Armada 8040 based) Fix NAND description on Armada XP boards which was broken since a few release * tag 'mvebu-fixes-5.0-2' of git://git.infradead.org/linux-mvebu: arm64: dts: clearfog-gt-8k: fix SGMII PHY reset signal ARM: dts: armada-xp: fix Armada XP boards NAND description Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 3858bfc + bdd22a4 commit 2f8b1ce

File tree

4 files changed

+77
-69
lines changed

4 files changed

+77
-69
lines changed

arch/arm/boot/dts/armada-xp-db.dts

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -144,30 +144,32 @@
144144
status = "okay";
145145
};
146146

147-
nand@d0000 {
147+
nand-controller@d0000 {
148148
status = "okay";
149-
label = "pxa3xx_nand-0";
150-
num-cs = <1>;
151-
marvell,nand-keep-config;
152-
nand-on-flash-bbt;
153-
154-
partitions {
155-
compatible = "fixed-partitions";
156-
#address-cells = <1>;
157-
#size-cells = <1>;
158-
159-
partition@0 {
160-
label = "U-Boot";
161-
reg = <0 0x800000>;
162-
};
163-
partition@800000 {
164-
label = "Linux";
165-
reg = <0x800000 0x800000>;
166-
};
167-
partition@1000000 {
168-
label = "Filesystem";
169-
reg = <0x1000000 0x3f000000>;
170149

150+
nand@0 {
151+
reg = <0>;
152+
label = "pxa3xx_nand-0";
153+
nand-rb = <0>;
154+
nand-on-flash-bbt;
155+
156+
partitions {
157+
compatible = "fixed-partitions";
158+
#address-cells = <1>;
159+
#size-cells = <1>;
160+
161+
partition@0 {
162+
label = "U-Boot";
163+
reg = <0 0x800000>;
164+
};
165+
partition@800000 {
166+
label = "Linux";
167+
reg = <0x800000 0x800000>;
168+
};
169+
partition@1000000 {
170+
label = "Filesystem";
171+
reg = <0x1000000 0x3f000000>;
172+
};
171173
};
172174
};
173175
};

arch/arm/boot/dts/armada-xp-gp.dts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,15 @@
160160
status = "okay";
161161
};
162162

163-
nand@d0000 {
163+
nand-controller@d0000 {
164164
status = "okay";
165-
label = "pxa3xx_nand-0";
166-
num-cs = <1>;
167-
marvell,nand-keep-config;
168-
nand-on-flash-bbt;
165+
166+
nand@0 {
167+
reg = <0>;
168+
label = "pxa3xx_nand-0";
169+
nand-rb = <0>;
170+
nand-on-flash-bbt;
171+
};
169172
};
170173
};
171174

arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts

Lines changed: 44 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -81,49 +81,52 @@
8181

8282
};
8383

84-
nand@d0000 {
84+
nand-controller@d0000 {
8585
status = "okay";
86-
label = "pxa3xx_nand-0";
87-
num-cs = <1>;
88-
marvell,nand-keep-config;
89-
nand-on-flash-bbt;
90-
91-
partitions {
92-
compatible = "fixed-partitions";
93-
#address-cells = <1>;
94-
#size-cells = <1>;
95-
96-
partition@0 {
97-
label = "u-boot";
98-
reg = <0x00000000 0x000e0000>;
99-
read-only;
100-
};
101-
102-
partition@e0000 {
103-
label = "u-boot-env";
104-
reg = <0x000e0000 0x00020000>;
105-
read-only;
106-
};
107-
108-
partition@100000 {
109-
label = "u-boot-env2";
110-
reg = <0x00100000 0x00020000>;
111-
read-only;
112-
};
113-
114-
partition@120000 {
115-
label = "zImage";
116-
reg = <0x00120000 0x00400000>;
117-
};
118-
119-
partition@520000 {
120-
label = "initrd";
121-
reg = <0x00520000 0x00400000>;
122-
};
12386

124-
partition@e00000 {
125-
label = "boot";
126-
reg = <0x00e00000 0x3f200000>;
87+
nand@0 {
88+
reg = <0>;
89+
label = "pxa3xx_nand-0";
90+
nand-rb = <0>;
91+
nand-on-flash-bbt;
92+
93+
partitions {
94+
compatible = "fixed-partitions";
95+
#address-cells = <1>;
96+
#size-cells = <1>;
97+
98+
partition@0 {
99+
label = "u-boot";
100+
reg = <0x00000000 0x000e0000>;
101+
read-only;
102+
};
103+
104+
partition@e0000 {
105+
label = "u-boot-env";
106+
reg = <0x000e0000 0x00020000>;
107+
read-only;
108+
};
109+
110+
partition@100000 {
111+
label = "u-boot-env2";
112+
reg = <0x00100000 0x00020000>;
113+
read-only;
114+
};
115+
116+
partition@120000 {
117+
label = "zImage";
118+
reg = <0x00120000 0x00400000>;
119+
};
120+
121+
partition@520000 {
122+
label = "initrd";
123+
reg = <0x00520000 0x00400000>;
124+
};
125+
126+
partition@e00000 {
127+
label = "boot";
128+
reg = <0x00e00000 0x3f200000>;
129+
};
127130
};
128131
};
129132
};

arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
reg = <0>;
352352
pinctrl-names = "default";
353353
pinctrl-0 = <&cp0_copper_eth_phy_reset>;
354-
reset-gpios = <&cp1_gpio1 11 GPIO_ACTIVE_LOW>;
354+
reset-gpios = <&cp0_gpio2 11 GPIO_ACTIVE_LOW>;
355355
reset-assert-us = <10000>;
356356
};
357357

0 commit comments

Comments
 (0)