From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@bootlin.com (Maxime Ripard) Date: Fri, 31 Aug 2018 09:35:00 +0200 Subject: [PATCH v4 09/13] ARM: dts: sun8i: r40: add sata node In-Reply-To: <20180830190120.722-10-clabbe.montjoie@gmail.com> References: <20180830190120.722-1-clabbe.montjoie@gmail.com> <20180830190120.722-10-clabbe.montjoie@gmail.com> Message-ID: <20180831073500.zubqpvar4yhjqrge@flea> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Aug 30, 2018 at 09:01:16PM +0200, Corentin Labbe wrote: > R40 have a sata controller which is the same as A20. > This patch adds a DT node for it. > > Signed-off-by: Icenowy Zheng > Signed-off-by: Corentin Labbe > --- > arch/arm/boot/dts/sun8i-r40.dtsi | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi > index 852c2ccc3268..d6b5820da850 100644 > --- a/arch/arm/boot/dts/sun8i-r40.dtsi > +++ b/arch/arm/boot/dts/sun8i-r40.dtsi > @@ -550,6 +550,29 @@ > #size-cells = <0>; > }; > > + ahci: sata at 1c18000 { > + compatible = "allwinner,sun8i-r40-ahci"; > + reg = <0x01c18000 0x1000>; > + interrupts = ; > + clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; > + resets = <&ccu RST_BUS_SATA>; > + resets-name = "ahci"; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + > + sata_port: sata-port at 0 { > + reg = <0>; > + phys = <&sata_phy>; > + }; > + }; > + > + sata_phy: sata-phy at 1c180c0 { > + compatible = "allwinner,sun8i-r40-sata-phy"; > + reg = <0x1c180c0 0x200>; Overlapping devices in the DTS is not ok. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: