Commit 70bc6bb3 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'zynq-dt-for-3.16' of git://git.xilinx.com/linux-xlnx into next/dt

Merge "arm: Xilinx Zynq dt patches for v3.16" from Michal Simek:

- Cleanup GIC mode
- Cleanup node names
- Add regulators

* tag 'zynq-dt-for-3.16' of git://git.xilinx.com/linux-xlnx:
  ARM: zynq: dt: Add a fixed regulator for CPU voltage
  ARM: zynq: dt: Clean up device tree
  ARM: dts: zynq: drop address cells from GIC node
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents 84cc8a71 e1e22df1
/* /*
* Copyright (C) 2011 Xilinx * Copyright (C) 2011 - 2014 Xilinx
* *
* This software is licensed under the terms of the GNU General Public * This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and * License version 2, as published by the Free Software Foundation, and
...@@ -25,6 +25,7 @@ cpu@0 { ...@@ -25,6 +25,7 @@ cpu@0 {
reg = <0>; reg = <0>;
clocks = <&clkc 3>; clocks = <&clkc 3>;
clock-latency = <1000>; clock-latency = <1000>;
cpu0-supply = <&regulator_vccpint>;
operating-points = < operating-points = <
/* kHz uV */ /* kHz uV */
666667 1000000 666667 1000000
...@@ -48,6 +49,15 @@ pmu { ...@@ -48,6 +49,15 @@ pmu {
reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >; reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >;
}; };
regulator_vccpint: fixedregulator@0 {
compatible = "regulator-fixed";
regulator-name = "VCCPINT";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-boot-on;
regulator-always-on;
};
amba { amba {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
...@@ -55,7 +65,7 @@ amba { ...@@ -55,7 +65,7 @@ amba {
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
ranges; ranges;
i2c0: zynq-i2c@e0004000 { i2c0: i2c@e0004000 {
compatible = "cdns,i2c-r1p10"; compatible = "cdns,i2c-r1p10";
status = "disabled"; status = "disabled";
clocks = <&clkc 38>; clocks = <&clkc 38>;
...@@ -66,7 +76,7 @@ i2c0: zynq-i2c@e0004000 { ...@@ -66,7 +76,7 @@ i2c0: zynq-i2c@e0004000 {
#size-cells = <0>; #size-cells = <0>;
}; };
i2c1: zynq-i2c@e0005000 { i2c1: i2c@e0005000 {
compatible = "cdns,i2c-r1p10"; compatible = "cdns,i2c-r1p10";
status = "disabled"; status = "disabled";
clocks = <&clkc 39>; clocks = <&clkc 39>;
...@@ -80,7 +90,6 @@ i2c1: zynq-i2c@e0005000 { ...@@ -80,7 +90,6 @@ i2c1: zynq-i2c@e0005000 {
intc: interrupt-controller@f8f01000 { intc: interrupt-controller@f8f01000 {
compatible = "arm,cortex-a9-gic"; compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>; #interrupt-cells = <3>;
#address-cells = <1>;
interrupt-controller; interrupt-controller;
reg = <0xF8F01000 0x1000>, reg = <0xF8F01000 0x1000>,
<0xF8F00100 0x100>; <0xF8F00100 0x100>;
...@@ -95,7 +104,7 @@ L2: cache-controller { ...@@ -95,7 +104,7 @@ L2: cache-controller {
cache-level = <2>; cache-level = <2>;
}; };
uart0: uart@e0000000 { uart0: serial@e0000000 {
compatible = "xlnx,xuartps"; compatible = "xlnx,xuartps";
status = "disabled"; status = "disabled";
clocks = <&clkc 23>, <&clkc 40>; clocks = <&clkc 23>, <&clkc 40>;
...@@ -104,7 +113,7 @@ uart0: uart@e0000000 { ...@@ -104,7 +113,7 @@ uart0: uart@e0000000 {
interrupts = <0 27 4>; interrupts = <0 27 4>;
}; };
uart1: uart@e0001000 { uart1: serial@e0001000 {
compatible = "xlnx,xuartps"; compatible = "xlnx,xuartps";
status = "disabled"; status = "disabled";
clocks = <&clkc 24>, <&clkc 41>; clocks = <&clkc 24>, <&clkc 41>;
...@@ -131,7 +140,7 @@ gem1: ethernet@e000c000 { ...@@ -131,7 +140,7 @@ gem1: ethernet@e000c000 {
clock-names = "pclk", "hclk", "tx_clk"; clock-names = "pclk", "hclk", "tx_clk";
}; };
sdhci0: ps7-sdhci@e0100000 { sdhci0: sdhci@e0100000 {
compatible = "arasan,sdhci-8.9a"; compatible = "arasan,sdhci-8.9a";
status = "disabled"; status = "disabled";
clock-names = "clk_xin", "clk_ahb"; clock-names = "clk_xin", "clk_ahb";
...@@ -141,7 +150,7 @@ sdhci0: ps7-sdhci@e0100000 { ...@@ -141,7 +150,7 @@ sdhci0: ps7-sdhci@e0100000 {
reg = <0xe0100000 0x1000>; reg = <0xe0100000 0x1000>;
} ; } ;
sdhci1: ps7-sdhci@e0101000 { sdhci1: sdhci@e0101000 {
compatible = "arasan,sdhci-8.9a"; compatible = "arasan,sdhci-8.9a";
status = "disabled"; status = "disabled";
clock-names = "clk_xin", "clk_ahb"; clock-names = "clk_xin", "clk_ahb";
...@@ -185,26 +194,27 @@ global_timer: timer@f8f00200 { ...@@ -185,26 +194,27 @@ global_timer: timer@f8f00200 {
clocks = <&clkc 4>; clocks = <&clkc 4>;
}; };
ttc0: ttc0@f8001000 { ttc0: timer@f8001000 {
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
interrupts = < 0 10 4 0 11 4 0 12 4 >; interrupts = <0 10 4>, <0 11 4>, <0 12 4>;
compatible = "cdns,ttc"; compatible = "cdns,ttc";
clocks = <&clkc 6>; clocks = <&clkc 6>;
reg = <0xF8001000 0x1000>; reg = <0xF8001000 0x1000>;
}; };
ttc1: ttc1@f8002000 { ttc1: timer@f8002000 {
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
interrupts = < 0 37 4 0 38 4 0 39 4 >; interrupts = <0 37 4>, <0 38 4>, <0 39 4>;
compatible = "cdns,ttc"; compatible = "cdns,ttc";
clocks = <&clkc 6>; clocks = <&clkc 6>;
reg = <0xF8002000 0x1000>; reg = <0xF8002000 0x1000>;
}; };
scutimer: scutimer@f8f00600 {
scutimer: timer@f8f00600 {
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
interrupts = < 1 13 0x301 >; interrupts = <1 13 0x301>;
compatible = "arm,cortex-a9-twd-timer"; compatible = "arm,cortex-a9-twd-timer";
reg = < 0xf8f00600 0x20 >; reg = <0xf8f00600 0x20>;
clocks = <&clkc 4>; clocks = <&clkc 4>;
} ; } ;
}; };
......
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