Skip to content

Commit

Permalink
Merge tag 'mvebu-fixes-5.0-2' of git://git.infradead.org/linux-mvebu …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Arnd Bergmann committed Feb 22, 2019
2 parents 3858bfc + bdd22a4 commit 2f8b1ce
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 69 deletions.
46 changes: 24 additions & 22 deletions arch/arm/boot/dts/armada-xp-db.dts
Original file line number Diff line number Diff line change
Expand Up @@ -144,30 +144,32 @@
status = "okay";
};

nand@d0000 {
nand-controller@d0000 {
status = "okay";
label = "pxa3xx_nand-0";
num-cs = <1>;
marvell,nand-keep-config;
nand-on-flash-bbt;

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

partition@0 {
label = "U-Boot";
reg = <0 0x800000>;
};
partition@800000 {
label = "Linux";
reg = <0x800000 0x800000>;
};
partition@1000000 {
label = "Filesystem";
reg = <0x1000000 0x3f000000>;

nand@0 {
reg = <0>;
label = "pxa3xx_nand-0";
nand-rb = <0>;
nand-on-flash-bbt;

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

partition@0 {
label = "U-Boot";
reg = <0 0x800000>;
};
partition@800000 {
label = "Linux";
reg = <0x800000 0x800000>;
};
partition@1000000 {
label = "Filesystem";
reg = <0x1000000 0x3f000000>;
};
};
};
};
Expand Down
13 changes: 8 additions & 5 deletions arch/arm/boot/dts/armada-xp-gp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,15 @@
status = "okay";
};

nand@d0000 {
nand-controller@d0000 {
status = "okay";
label = "pxa3xx_nand-0";
num-cs = <1>;
marvell,nand-keep-config;
nand-on-flash-bbt;

nand@0 {
reg = <0>;
label = "pxa3xx_nand-0";
nand-rb = <0>;
nand-on-flash-bbt;
};
};
};

Expand Down
85 changes: 44 additions & 41 deletions arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts
Original file line number Diff line number Diff line change
Expand Up @@ -81,49 +81,52 @@

};

nand@d0000 {
nand-controller@d0000 {
status = "okay";
label = "pxa3xx_nand-0";
num-cs = <1>;
marvell,nand-keep-config;
nand-on-flash-bbt;

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

partition@0 {
label = "u-boot";
reg = <0x00000000 0x000e0000>;
read-only;
};

partition@e0000 {
label = "u-boot-env";
reg = <0x000e0000 0x00020000>;
read-only;
};

partition@100000 {
label = "u-boot-env2";
reg = <0x00100000 0x00020000>;
read-only;
};

partition@120000 {
label = "zImage";
reg = <0x00120000 0x00400000>;
};

partition@520000 {
label = "initrd";
reg = <0x00520000 0x00400000>;
};

partition@e00000 {
label = "boot";
reg = <0x00e00000 0x3f200000>;
nand@0 {
reg = <0>;
label = "pxa3xx_nand-0";
nand-rb = <0>;
nand-on-flash-bbt;

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

partition@0 {
label = "u-boot";
reg = <0x00000000 0x000e0000>;
read-only;
};

partition@e0000 {
label = "u-boot-env";
reg = <0x000e0000 0x00020000>;
read-only;
};

partition@100000 {
label = "u-boot-env2";
reg = <0x00100000 0x00020000>;
read-only;
};

partition@120000 {
label = "zImage";
reg = <0x00120000 0x00400000>;
};

partition@520000 {
label = "initrd";
reg = <0x00520000 0x00400000>;
};

partition@e00000 {
label = "boot";
reg = <0x00e00000 0x3f200000>;
};
};
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@
reg = <0>;
pinctrl-names = "default";
pinctrl-0 = <&cp0_copper_eth_phy_reset>;
reset-gpios = <&cp1_gpio1 11 GPIO_ACTIVE_LOW>;
reset-gpios = <&cp0_gpio2 11 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
};

Expand Down

0 comments on commit 2f8b1ce

Please sign in to comment.