Skip to content

Commit

Permalink
Merge tag 'mvebu-dt64-4.12-2' of git://git.infradead.org/linux-mvebu …
Browse files Browse the repository at this point in the history
…into next/dt64

mvebu dt64 for 4.12 (part 2)

- crypto engine description for the Armada 7k/8k SoCs and the boards
  using it
- SDHCI description for the Armada 37xx and 7k/8k SoCs and the boards
  using it

* tag 'mvebu-dt64-4.12-2' of git://git.infradead.org/linux-mvebu:
  arm64: marvell: dts: enable the crypto engine on the Armada 8040 DB
  arm64: marvell: dts: enable the crypto engine on the Armada 7040 DB
  arm64: marvell: dts: add crypto engine description for 7k/8k
  arm64: dts: marvell: add sdhci support for Armada 7K/8K
  arm64: dts: marvell: add eMMC support for Armada 37xx

Signed-off-by: Olof Johansson <[email protected]>
  • Loading branch information
olofj committed Apr 19, 2017
2 parents 08fd8c9 + 7ba2ef7 commit d0815df
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm64/boot/dts/marvell/armada-3720-db.dts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,15 @@
status = "okay";
};

&sdhci0 {
non-removable;
bus-width = <8>;
mmc-ddr-1_8v;
mmc-hs400-1_8v;
marvell,pad-type = "fixed-1-8v";
status = "okay";
};

/* CON31 */
&usb3 {
status = "okay";
Expand Down
11 changes: 11 additions & 0 deletions arch/arm64/boot/dts/marvell/armada-37xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,17 @@
};
};

sdhci0: sdhci@d8000 {
compatible = "marvell,armada-3700-sdhci",
"marvell,sdhci-xenon";
reg = <0xd8000 0x300
0x17808 0x4>;
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&nb_periph_clk 0>;
clock-names = "core";
status = "disabled";
};

sata: sata@e0000 {
compatible = "marvell,armada-3700-ahci";
reg = <0xe0000 0x2000>;
Expand Down
18 changes: 18 additions & 0 deletions arch/arm64/boot/dts/marvell/armada-7040-db.dts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,20 @@
status = "okay";
};

&ap_sdhci0 {
status = "okay";
bus-width = <4>;
no-1-8-v;
non-removable;
};

&cpm_sdhci0 {
status = "okay";
bus-width = <4>;
no-1-8-v;
non-removable;
};

&cpm_mdio {
phy0: ethernet-phy@0 {
reg = <0>;
Expand All @@ -171,3 +185,7 @@
phy = <&phy1>;
phy-mode = "rgmii-id";
};

&cpm_crypto {
status = "okay";
};
16 changes: 16 additions & 0 deletions arch/arm64/boot/dts/marvell/armada-8040-db.dts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@
phy-mode = "rgmii-id";
};

&cpm_crypto {
status = "okay";
};

/* CON5 on CP1 expansion */
&cps_pcie2 {
status = "okay";
Expand All @@ -164,3 +168,15 @@
&cps_usb3_1 {
status = "okay";
};

&ap_sdhci0 {
status = "okay";
bus-width = <4>;
non-removable;
};

&cpm_sdhci0 {
status = "okay";
bus-width = <8>;
non-removable;
};
11 changes: 11 additions & 0 deletions arch/arm64/boot/dts/marvell/armada-ap806.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,17 @@

};

ap_sdhci0: sdhci@6e0000 {
compatible = "marvell,armada-ap806-sdhci";
reg = <0x6e0000 0x300>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "core";
clocks = <&ap_syscon 4>;
dma-coherent;
marvell,xenon-phy-slow-mode;
status = "disabled";
};

ap_syscon: system-controller@6f4000 {
compatible = "marvell,ap806-system-controller",
"syscon";
Expand Down
26 changes: 26 additions & 0 deletions arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,32 @@
clocks = <&cpm_syscon0 1 25>;
status = "okay";
};

cpm_sdhci0: sdhci@780000 {
compatible = "marvell,armada-cp110-sdhci";
reg = <0x780000 0x300>;
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "core";
clocks = <&cpm_syscon0 1 4>;
dma-coherent;
status = "disabled";
};

cpm_crypto: crypto@800000 {
compatible = "inside-secure,safexcel-eip197";
reg = <0x800000 0x200000>;
interrupts = <GIC_SPI 34 (IRQ_TYPE_EDGE_RISING
| IRQ_TYPE_LEVEL_HIGH)>,
<GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "mem", "ring0", "ring1",
"ring2", "ring3", "eip";
clocks = <&cpm_syscon0 1 26>;
status = "disabled";
};
};

cpm_pcie0: pcie@f2600000 {
Expand Down
16 changes: 16 additions & 0 deletions arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,22 @@
clocks = <&cps_syscon0 1 25>;
status = "okay";
};

cps_crypto: crypto@800000 {
compatible = "inside-secure,safexcel-eip197";
reg = <0x800000 0x200000>;
interrupts = <GIC_SPI 34 (IRQ_TYPE_EDGE_RISING
| IRQ_TYPE_LEVEL_HIGH)>,
<GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "mem", "ring0", "ring1",
"ring2", "ring3", "eip";
clocks = <&cps_syscon0 1 26>;
status = "disabled";
};
};

cps_pcie0: pcie@f4600000 {
Expand Down

0 comments on commit d0815df

Please sign in to comment.