forked from Minki/linux
42dd8d53ce
I2C. Also some cleanup of some unneeded properties and conflicting nodes. One more DT-only board based on at91rm9200. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJRSyP1AAoJEAf03oE53VmQVr4IAJKl8rITnS3rmYYGmFo+cIGl HkaDM7ljf726hW2bmmcTu1zQLLsdP3EY7qOmuoUN5J8uWSV67Yujc3C0ypqgC2ve vwWEKuPB8N6utPTWl9eLCvTp+DTKDaq6otfcXFj432tWLWdc0DYKlkaiVfePSChn hLFFeuIj3XFCIxVJ+Tz14+/b1MC+jswe4TMCvGKE3d4aZ1dgWfS9YhmNjQ0hB1rP BW0A7RIBW366OUCzvEkKI1NZ8MzKO6ghJMeBpLHuD3I8GJGaF9NhZXi6v7SJVS9i IdEwXdrYY+TzpllnF9imwhvPK5d6QbcqNVV5Gie+aFwZJTYt4ufPAEIH5rd67jo= =n+O8 -----END PGP SIGNATURE----- Merge tag 'at91-dt' of git://github.com/at91linux/linux-at91 into next/dt From Nicolas Ferre <nicolas.ferre@atmel.com>: DT modifications for at91rm9200 and at91sam9x5 SoCs, mainly around I2C. Also some cleanup of some unneeded properties and conflicting nodes. One more DT-only board based on at91rm9200. * tag 'at91-dt' of git://github.com/at91linux/linux-at91: ARM: at91/at91sam9x5cm: add 1-wire chip on CM board ARM: at91/at91sam9x5ek: i2c1 and i2c2 conflict with macb and lcd ARM: at91/dt: gpio-keys: remove address-cells and size-cells properties ARM: at91: add MPA 1600 DT board ARM: at91: add pinctrl nodes to i2c-gpio on RM92000 DT ARM: at91: add TWI bindings to RM9200 DT ARM: at91: dt: at91sam9x5: add i2c-gpio pinctrl ARM: at91: dt: at91sam9x5: add i2c pinctrl Signed-off-by: Arnd Bergmann <arnd@arndb.de>
263 lines
5.4 KiB
Plaintext
263 lines
5.4 KiB
Plaintext
/include/ "skeleton.dtsi"
|
|
|
|
/ {
|
|
compatible = "marvell,dove";
|
|
model = "Marvell Armada 88AP510 SoC";
|
|
|
|
aliases {
|
|
gpio0 = &gpio0;
|
|
gpio1 = &gpio1;
|
|
gpio2 = &gpio2;
|
|
};
|
|
|
|
soc@f1000000 {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
interrupt-parent = <&intc>;
|
|
|
|
ranges = <0xc8000000 0xc8000000 0x0100000 /* CESA SRAM 1M */
|
|
0xe0000000 0xe0000000 0x8000000 /* PCIe0 Mem 128M */
|
|
0xe8000000 0xe8000000 0x8000000 /* PCIe1 Mem 128M */
|
|
0xf0000000 0xf0000000 0x0100000 /* ScratchPad 1M */
|
|
0x00000000 0xf1000000 0x1000000 /* SB/NB regs 16M */
|
|
0xf2000000 0xf2000000 0x0100000 /* PCIe0 I/O 1M */
|
|
0xf2100000 0xf2100000 0x0100000 /* PCIe0 I/O 1M */
|
|
0xf8000000 0xf8000000 0x8000000>; /* BootROM 128M */
|
|
|
|
l2: l2-cache {
|
|
compatible = "marvell,tauros2-cache";
|
|
marvell,tauros2-cache-features = <0>;
|
|
};
|
|
|
|
intc: interrupt-controller {
|
|
compatible = "marvell,orion-intc";
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
reg = <0x20204 0x04>, <0x20214 0x04>;
|
|
};
|
|
|
|
core_clk: core-clocks@d0214 {
|
|
compatible = "marvell,dove-core-clock";
|
|
reg = <0xd0214 0x4>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
gate_clk: clock-gating-control@d0038 {
|
|
compatible = "marvell,dove-gating-clock";
|
|
reg = <0xd0038 0x4>;
|
|
clocks = <&core_clk 0>;
|
|
#clock-cells = <1>;
|
|
};
|
|
|
|
thermal: thermal@d001c {
|
|
compatible = "marvell,dove-thermal";
|
|
reg = <0xd001c 0x0c>, <0xd005c 0x08>;
|
|
};
|
|
|
|
uart0: serial@12000 {
|
|
compatible = "ns16550a";
|
|
reg = <0x12000 0x100>;
|
|
reg-shift = <2>;
|
|
interrupts = <7>;
|
|
clocks = <&core_clk 0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
uart1: serial@12100 {
|
|
compatible = "ns16550a";
|
|
reg = <0x12100 0x100>;
|
|
reg-shift = <2>;
|
|
interrupts = <8>;
|
|
clocks = <&core_clk 0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
uart2: serial@12200 {
|
|
compatible = "ns16550a";
|
|
reg = <0x12000 0x100>;
|
|
reg-shift = <2>;
|
|
interrupts = <9>;
|
|
clocks = <&core_clk 0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
uart3: serial@12300 {
|
|
compatible = "ns16550a";
|
|
reg = <0x12100 0x100>;
|
|
reg-shift = <2>;
|
|
interrupts = <10>;
|
|
clocks = <&core_clk 0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
gpio0: gpio@d0400 {
|
|
compatible = "marvell,orion-gpio";
|
|
#gpio-cells = <2>;
|
|
gpio-controller;
|
|
reg = <0xd0400 0x20>;
|
|
ngpios = <32>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
interrupts = <12>, <13>, <14>, <60>;
|
|
};
|
|
|
|
gpio1: gpio@d0420 {
|
|
compatible = "marvell,orion-gpio";
|
|
#gpio-cells = <2>;
|
|
gpio-controller;
|
|
reg = <0xd0420 0x20>;
|
|
ngpios = <32>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
interrupts = <61>;
|
|
};
|
|
|
|
gpio2: gpio@e8400 {
|
|
compatible = "marvell,orion-gpio";
|
|
#gpio-cells = <2>;
|
|
gpio-controller;
|
|
reg = <0xe8400 0x0c>;
|
|
ngpios = <8>;
|
|
};
|
|
|
|
pinctrl: pinctrl@d0200 {
|
|
compatible = "marvell,dove-pinctrl";
|
|
reg = <0xd0200 0x10>;
|
|
clocks = <&gate_clk 22>;
|
|
};
|
|
|
|
spi0: spi@10600 {
|
|
compatible = "marvell,orion-spi";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
cell-index = <0>;
|
|
interrupts = <6>;
|
|
reg = <0x10600 0x28>;
|
|
clocks = <&core_clk 0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
spi1: spi@14600 {
|
|
compatible = "marvell,orion-spi";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
cell-index = <1>;
|
|
interrupts = <5>;
|
|
reg = <0x14600 0x28>;
|
|
clocks = <&core_clk 0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c0: i2c@11000 {
|
|
compatible = "marvell,mv64xxx-i2c";
|
|
reg = <0x11000 0x20>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
interrupts = <11>;
|
|
clock-frequency = <400000>;
|
|
timeout-ms = <1000>;
|
|
clocks = <&core_clk 0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
ehci0: usb-host@50000 {
|
|
compatible = "marvell,orion-ehci";
|
|
reg = <0x50000 0x1000>;
|
|
interrupts = <24>;
|
|
clocks = <&gate_clk 0>;
|
|
status = "okay";
|
|
};
|
|
|
|
ehci1: usb-host@51000 {
|
|
compatible = "marvell,orion-ehci";
|
|
reg = <0x51000 0x1000>;
|
|
interrupts = <25>;
|
|
clocks = <&gate_clk 1>;
|
|
status = "okay";
|
|
};
|
|
|
|
sdio0: sdio@92000 {
|
|
compatible = "marvell,dove-sdhci";
|
|
reg = <0x92000 0x100>;
|
|
interrupts = <35>, <37>;
|
|
clocks = <&gate_clk 8>;
|
|
status = "disabled";
|
|
};
|
|
|
|
sdio1: sdio@90000 {
|
|
compatible = "marvell,dove-sdhci";
|
|
reg = <0x90000 0x100>;
|
|
interrupts = <36>, <38>;
|
|
clocks = <&gate_clk 9>;
|
|
status = "disabled";
|
|
};
|
|
|
|
sata0: sata@a0000 {
|
|
compatible = "marvell,orion-sata";
|
|
reg = <0xa0000 0x2400>;
|
|
interrupts = <62>;
|
|
clocks = <&gate_clk 3>;
|
|
nr-ports = <1>;
|
|
status = "disabled";
|
|
};
|
|
|
|
rtc@d8500 {
|
|
compatible = "marvell,orion-rtc";
|
|
reg = <0xd8500 0x20>;
|
|
};
|
|
|
|
crypto: crypto@30000 {
|
|
compatible = "marvell,orion-crypto";
|
|
reg = <0x30000 0x10000>,
|
|
<0xc8000000 0x800>;
|
|
reg-names = "regs", "sram";
|
|
interrupts = <31>;
|
|
clocks = <&gate_clk 15>;
|
|
status = "okay";
|
|
};
|
|
|
|
xor0: dma-engine@60800 {
|
|
compatible = "marvell,orion-xor";
|
|
reg = <0x60800 0x100
|
|
0x60a00 0x100>;
|
|
clocks = <&gate_clk 23>;
|
|
status = "okay";
|
|
|
|
channel0 {
|
|
interrupts = <39>;
|
|
dmacap,memcpy;
|
|
dmacap,xor;
|
|
};
|
|
|
|
channel1 {
|
|
interrupts = <40>;
|
|
dmacap,memset;
|
|
dmacap,memcpy;
|
|
dmacap,xor;
|
|
};
|
|
};
|
|
|
|
xor1: dma-engine@60900 {
|
|
compatible = "marvell,orion-xor";
|
|
reg = <0x60900 0x100
|
|
0x60b00 0x100>;
|
|
clocks = <&gate_clk 24>;
|
|
status = "okay";
|
|
|
|
channel0 {
|
|
interrupts = <42>;
|
|
dmacap,memcpy;
|
|
dmacap,xor;
|
|
};
|
|
|
|
channel1 {
|
|
interrupts = <43>;
|
|
dmacap,memset;
|
|
dmacap,memcpy;
|
|
dmacap,xor;
|
|
};
|
|
};
|
|
};
|
|
};
|