Commit b131eaa3 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'dt-3.11-4' of git://git.infradead.org/users/jcooper/linux into next/dt

From Jason Cooper:
mvebu dt changes for v3.11 (round 4)

 - kirkwood
    - reshuffle nodes from kirkwood.dtsi to -6281.dtsi, etc
    - add i2c-gpio for km_kirkwood
    - add cpu node so pending cpufreq driver will init

* tag 'dt-3.11-4' of git://git.infradead.org/users/jcooper/linux:
  ARM: Kirkwood add cpus definition needed by cpufreq driver to dtsi
  ARM: kirkwood: add i2c-gpio controller for km_kirkwood
  ARM: kirkwood: refactor dtsi to largest common nodes
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents 8b2efa89 33a66754
...@@ -40,5 +40,33 @@ pmx_sdio: pmx-sdio { ...@@ -40,5 +40,33 @@ pmx_sdio: pmx-sdio {
marvell,function = "sdio"; marvell,function = "sdio";
}; };
}; };
rtc@10300 {
compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
reg = <0x10300 0x20>;
interrupts = <53>;
clocks = <&gate_clk 7>;
};
sata@80000 {
compatible = "marvell,orion-sata";
reg = <0x80000 0x5000>;
interrupts = <21>;
clocks = <&gate_clk 14>, <&gate_clk 15>;
clock-names = "0", "1";
status = "disabled";
};
mvsdio@90000 {
compatible = "marvell,orion-sdio";
reg = <0x90000 0x200>;
interrupts = <28>;
clocks = <&gate_clk 4>;
bus-width = <4>;
cap-sdio-irq;
cap-sd-highspeed;
cap-mmc-highspeed;
status = "disabled";
};
}; };
}; };
...@@ -49,6 +49,34 @@ pmx_sdio: pmx-sdio { ...@@ -49,6 +49,34 @@ pmx_sdio: pmx-sdio {
}; };
}; };
rtc@10300 {
compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
reg = <0x10300 0x20>;
interrupts = <53>;
clocks = <&gate_clk 7>;
};
sata@80000 {
compatible = "marvell,orion-sata";
reg = <0x80000 0x5000>;
interrupts = <21>;
clocks = <&gate_clk 14>, <&gate_clk 15>;
clock-names = "0", "1";
status = "disabled";
};
mvsdio@90000 {
compatible = "marvell,orion-sdio";
reg = <0x90000 0x200>;
interrupts = <28>;
clocks = <&gate_clk 4>;
bus-width = <4>;
cap-sdio-irq;
cap-sd-highspeed;
cap-mmc-highspeed;
status = "disabled";
};
thermal@10078 { thermal@10078 {
compatible = "marvell,kirkwood-thermal"; compatible = "marvell,kirkwood-thermal";
reg = <0x10078 0x4>; reg = <0x10078 0x4>;
......
...@@ -42,4 +42,11 @@ nand@3000000 { ...@@ -42,4 +42,11 @@ nand@3000000 {
chip-delay = <25>; chip-delay = <25>;
}; };
}; };
i2c@0 {
compatible = "i2c-gpio";
gpios = < &gpio0 8 0 /* sda */
&gpio0 9 0 >; /* scl */
i2c-gpio,delay-us = <2>; /* ~100 kHz */
};
}; };
/dts-v1/; /dts-v1/;
/include/ "kirkwood.dtsi" /include/ "kirkwood.dtsi"
/include/ "kirkwood-6281.dtsi"
/ { / {
model = "ZyXEL NSA310"; model = "ZyXEL NSA310";
......
...@@ -4,6 +4,18 @@ / { ...@@ -4,6 +4,18 @@ / {
compatible = "marvell,kirkwood"; compatible = "marvell,kirkwood";
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 {
device_type = "cpu";
compatible = "marvell,feroceon";
clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>;
clock-names = "cpu_clk", "ddrclk", "powersave";
};
};
aliases { aliases {
gpio0 = &gpio0; gpio0 = &gpio0;
gpio1 = &gpio1; gpio1 = &gpio1;
...@@ -71,13 +83,6 @@ serial@12100 { ...@@ -71,13 +83,6 @@ serial@12100 {
status = "disabled"; status = "disabled";
}; };
rtc@10300 {
compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
reg = <0x10300 0x20>;
interrupts = <53>;
clocks = <&gate_clk 7>;
};
spi@10600 { spi@10600 {
compatible = "marvell,orion-spi"; compatible = "marvell,orion-spi";
#address-cells = <1>; #address-cells = <1>;
...@@ -151,15 +156,6 @@ ehci@50000 { ...@@ -151,15 +156,6 @@ ehci@50000 {
status = "okay"; status = "okay";
}; };
sata@80000 {
compatible = "marvell,orion-sata";
reg = <0x80000 0x5000>;
interrupts = <21>;
clocks = <&gate_clk 14>, <&gate_clk 15>;
clock-names = "0", "1";
status = "disabled";
};
nand@3000000 { nand@3000000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -194,17 +190,5 @@ crypto@30000 { ...@@ -194,17 +190,5 @@ crypto@30000 {
clocks = <&gate_clk 17>; clocks = <&gate_clk 17>;
status = "okay"; status = "okay";
}; };
mvsdio@90000 {
compatible = "marvell,orion-sdio";
reg = <0x90000 0x200>;
interrupts = <28>;
clocks = <&gate_clk 4>;
bus-width = <4>;
cap-sdio-irq;
cap-sd-highspeed;
cap-mmc-highspeed;
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