Gemini DTS patches for v4.13, take 2:

- Add DMA controller
 - Add PATA controller and SATA bridge
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJZQGApAAoJEEEQszewGV1zsikP/RaEWP4qyte/pm+Ao2+wjMhY
 DP+DagWognBTPUXeeDkb+2k4apCnPwfJUZ6ORVdm3u7T2r2DRzVw7lIYUKSjf2pZ
 /rVfAWqSlzGvsh6gerZEdP1l1oNk7yK7QaL1ANfoPPVkYWULFGDNIBcQBsMHIzbz
 O9EjHcj/fiZaqYeiYONF/Saw0NV9kHYj1GuuqwHHnobGDkO30HsZdtbEHyLO/xN5
 xEPNNT6I+cvoH5txqmHUjM0sSFocCA69sX1e8ZMKwKiDUXBd0ZIvMISK8/fHwNbr
 xlS0rShVFZWkiTxLlLZo4mCRT4huvaoSnp8LXFbODltWxF316EViDzN2MlqDUtxj
 6qTMw2q1A2hxiCfoSwINNhBL/A5FqcocPZUpX3KnAlVdS6Feudv1FFscYRE5mS2g
 Y0S3qYgYNLOpAHjNhzPV33/1/mWIWO0THEainsFswMf8O6J9+1XewT81v/g0euYc
 KDE9ycWB+nc0nZtYFB2lcjBmrR7u4Td/jAXtL2px9l7GF3/aXzLj9kVSBZ1PR3mq
 X0Hx4Z5Ini803vFgVKXxeUOGuHKwwJccJWJuMuT5L3HdTdFTHtCv3JjsYW8cGNpy
 eXmbOVMU+4bcbeuBleINmwZc5qRJwjsxg6P/T7ikwVt2i5dpBj1odUWl2FR7d7mq
 CM7NF0QWaD/BckpeKQPu
 =tdvJ
 -----END PGP SIGNATURE-----

Merge tag 'gemini-v4.13-dts-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into next/dt

Gemini DTS patches for v4.13, take 2:
- Add DMA controller
- Add PATA controller and SATA bridge

* tag 'gemini-v4.13-dts-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: add Gemini PATA/SATA support
  ARM: dts: Add Gemini DMA controller

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2017-06-18 20:31:59 -07:00
commit 392366c34c
3 changed files with 72 additions and 0 deletions

View File

@ -98,5 +98,15 @@ partition@fe0000 {
read-only;
};
};
sata: sata@46000000 {
cortina,gemini-ata-muxmode = <0>;
cortina,gemini-enable-sata-bridge;
status = "okay";
};
ata@63000000 {
status = "okay";
};
};
};

View File

@ -93,6 +93,12 @@ partition@fe0000 {
};
};
sata: sata@46000000 {
cortina,gemini-ata-muxmode = <0>;
cortina,gemini-enable-sata-bridge;
status = "okay";
};
pci@50000000 {
status = "okay";
interrupt-map-mask = <0xf800 0 0 7>;
@ -114,5 +120,9 @@ pci@50000000 {
<0x6000 0 0 3 &pci_intc 1>,
<0x6000 0 0 4 &pci_intc 2>;
};
ata@63000000 {
status = "okay";
};
};
};

View File

@ -81,6 +81,19 @@ rtc@45000000 {
clock-names = "PCLK", "EXTCLK";
};
sata: sata@46000000 {
compatible = "cortina,gemini-sata-bridge";
reg = <0x46000000 0x100>;
resets = <&syscon 26>,
<&syscon 27>;
reset-names = "sata0", "sata1";
clocks = <&syscon 10>,
<&syscon 11>;
clock-names = "SATA0_PCLK", "SATA1_PCLK";
syscon = <&syscon>;
status = "disabled";
};
intcon: interrupt-controller@48000000 {
compatible = "faraday,ftintc010";
reg = <0x48000000 0x1000>;
@ -175,5 +188,44 @@ pci_intc: interrupt-controller {
#interrupt-cells = <1>;
};
};
ata@63000000 {
compatible = "cortina,gemini-pata", "faraday,ftide010";
reg = <0x63000000 0x1000>;
interrupts = <4 IRQ_TYPE_EDGE_RISING>;
resets = <&syscon 2>;
clocks = <&syscon 14>;
clock-names = "PCLK";
sata = <&sata>;
status = "disabled";
};
ata@63400000 {
compatible = "cortina,gemini-pata", "faraday,ftide010";
reg = <0x63400000 0x1000>;
interrupts = <5 IRQ_TYPE_EDGE_RISING>;
resets = <&syscon 2>;
clocks = <&syscon 14>;
clock-names = "PCLK";
sata = <&sata>;
status = "disabled";
};
dma-controller@67000000 {
compatible = "faraday,ftdma020", "arm,pl080", "arm,primecell";
/* Faraday Technology FTDMAC020 variant */
arm,primecell-periphid = <0x0003b080>;
reg = <0x67000000 0x1000>;
interrupts = <9 IRQ_TYPE_EDGE_RISING>;
resets = <&syscon 10>;
clocks = <&syscon 1>;
clock-names = "apb_pclk";
/* Bus interface AHB1 (AHB0) is totally tilted */
lli-bus-interface-ahb2;
mem-bus-interface-ahb2;
memcpy-burst-size = <256>;
memcpy-bus-width = <32>;
#dma-cells = <2>;
};
};
};