Commit 97837505 authored by Kunihiko Hayashi's avatar Kunihiko Hayashi Committed by Arnd Bergmann

ARM: dts: uniphier: Add ahci controller nodes for PXs2

Add ahci core controller and glue layer nodes including reset-controller
and sata-phy.

This supports for PXs2 and the boards without PXs2 vodka board that
doesn't implement any SATA connectors.
Signed-off-by: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20220913042249.4708-8-hayashi.kunihiko@socionext.com'
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent d5566de5
......@@ -99,3 +99,7 @@ &usb0 {
&usb1 {
status = "okay";
};
&ahci {
status = "okay";
};
......@@ -599,6 +599,46 @@ mdio: mdio {
};
};
ahci: sata@65600000 {
compatible = "socionext,uniphier-pxs2-ahci",
"generic-ahci";
status = "disabled";
reg = <0x65600000 0x10000>;
interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&sys_clk 28>;
resets = <&sys_rst 28>, <&ahci_rst 0>;
ports-implemented = <1>;
phys = <&ahci_phy>;
};
sata-controller@65700000 {
compatible = "socionext,uniphier-pxs2-ahci-glue",
"simple-mfd";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x65700000 0x100>;
ahci_rst: reset-controller@0 {
compatible = "socionext,uniphier-pxs2-ahci-reset";
reg = <0x0 0x4>;
clock-names = "link";
clocks = <&sys_clk 28>;
reset-names = "link";
resets = <&sys_rst 28>;
#reset-cells = <1>;
};
ahci_phy: sata-phy@10 {
compatible = "socionext,uniphier-pxs2-ahci-phy";
reg = <0x10 0x10>;
clock-names = "link";
clocks = <&sys_clk 28>;
reset-names = "link", "phy";
resets = <&sys_rst 28>, <&sys_rst 30>;
#phy-cells = <0>;
};
};
usb0: usb@65a00000 {
compatible = "socionext,uniphier-dwc3", "snps,dwc3";
status = "disabled";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment