Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 878a3ee3 authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth
Browse files

ARM: berlin: Add AHCI and SATA PHY nodes to BG2



Add DT nodes for the AHCI controller and SATA PHY found on Marvell
Berlin2 SoCs.

Acked-by: default avatarAntoine Ténart <antoine.tenart@free-electrons.com>
Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
parent e4fdc8e5
Loading
Loading
Loading
Loading
+39 −0
Original line number Original line Diff line number Diff line
@@ -311,6 +311,45 @@
			};
			};
		};
		};


		ahci: sata@e90000 {
			compatible = "marvell,berlin2-ahci", "generic-ahci";
			reg = <0xe90000 0x1000>;
			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&chip CLKID_SATA>;
			#address-cells = <1>;
			#size-cells = <0>;

			sata0: sata-port@0 {
				reg = <0>;
				phys = <&sata_phy 0>;
				status = "disabled";
			};

			sata1: sata-port@1 {
				reg = <1>;
				phys = <&sata_phy 1>;
				status = "disabled";
			};
		};

		sata_phy: phy@e900a0 {
			compatible = "marvell,berlin2-sata-phy";
			reg = <0xe900a0 0x200>;
			clocks = <&chip CLKID_SATA>;
			#address-cells = <1>;
			#size-cells = <0>;
			#phy-cells = <1>;
			status = "disabled";

			sata-phy@0 {
				reg = <0>;
			};

			sata-phy@1 {
				reg = <1>;
			};
		};

		chip: chip-control@ea0000 {
		chip: chip-control@ea0000 {
			compatible = "marvell,berlin2-chip-ctrl";
			compatible = "marvell,berlin2-chip-ctrl";
			#clock-cells = <1>;
			#clock-cells = <1>;