1 --- a/drivers/ata/Kconfig
2 +++ b/drivers/ata/Kconfig
3 @@ -568,6 +568,14 @@ config SATA_VITESSE
8 + tristate "PLXTECH NAS782X SATA support"
11 + This option enables support for Nas782x Serial ATA controller.
15 comment "PATA SFF controllers with BMDMA"
18 --- a/drivers/ata/Makefile
19 +++ b/drivers/ata/Makefile
20 @@ -46,6 +46,7 @@ obj-$(CONFIG_SATA_SVW) += sata_svw.o
21 obj-$(CONFIG_SATA_ULI) += sata_uli.o
22 obj-$(CONFIG_SATA_VIA) += sata_via.o
23 obj-$(CONFIG_SATA_VITESSE) += sata_vsc.o
24 +obj-$(CONFIG_SATA_OXNAS) += sata_oxnas.o
27 obj-$(CONFIG_PATA_ALI) += pata_ali.o
28 --- a/arch/arm/boot/dts/ox820.dtsi
29 +++ b/arch/arm/boot/dts/ox820.dtsi
31 plxtech,pcie-outbound-offset = <0x174>;
35 + sata: sata@45900000 {
36 + compatible = "plxtech,nas782x-sata";
37 + /* ports dmactl sgdma */
38 + reg = <0x45900000 0x20000>, <0x459A0000 0x40>, <0x459B0000 0x20>,
39 + /* core phy descriptors (optional) */
40 + <0x459E0000 0x2000>, <0x44900000 0x0C>, <0x50000000 0x1000>;
41 + interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
42 + clocks = <&stdclk CLK_820_SATA>;
43 + resets = <&reset RESET_SATA>, <&reset RESET_SATA_LINK>, <&reset RESET_SATA_PHY>;
44 + reset-names = "sata", "link", "phy";
46 + status = "disabled";
51 --- a/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts
52 +++ b/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_etha_mdio>;