Skip to content

Commit

Permalink
Merge tag 'zynq-dt-for-3.14' of git://git.xilinx.com/linux-xlnx into …
Browse files Browse the repository at this point in the history
…next/dt

From Michal Simek:

arm: Xilinx Zynq dt patches for v3.14

- Add gem support
- Add cpus node
- TTC cleanup

* tag 'zynq-dt-for-3.14' of git://git.xilinx.com/linux-xlnx:
  arm: dt: zynq: Add 'cpus' node
  arm: dt: zynq: Remove 'clock-ranges' from TTC nodes
  ARM: zynq: add gem support

Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Olof Johansson committed Dec 22, 2013
2 parents 1c928d1 + 41e4cdb commit 31d9561
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 2 deletions.
39 changes: 37 additions & 2 deletions arch/arm/boot/dts/zynq-7000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,25 @@
/ {
compatible = "xlnx,zynq-7000";

cpus {
#address-cells = <1>;
#size-cells = <0>;

cpu@0 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = <0>;
clocks = <&clkc 3>;
};

cpu@1 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = <1>;
clocks = <&clkc 3>;
};
};

pmu {
compatible = "arm,cortex-a9-pmu";
interrupts = <0 5 4>, <0 6 4>;
Expand Down Expand Up @@ -65,6 +84,24 @@
interrupts = <0 50 4>;
};

gem0: ethernet@e000b000 {
compatible = "cdns,gem";
reg = <0xe000b000 0x4000>;
status = "disabled";
interrupts = <0 22 4>;
clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
clock-names = "pclk", "hclk", "tx_clk";
};

gem1: ethernet@e000c000 {
compatible = "cdns,gem";
reg = <0xe000c000 0x4000>;
status = "disabled";
interrupts = <0 45 4>;
clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>;
clock-names = "pclk", "hclk", "tx_clk";
};

slcr: slcr@f8000000 {
compatible = "xlnx,zynq-slcr";
reg = <0xF8000000 0x1000>;
Expand Down Expand Up @@ -106,7 +143,6 @@
compatible = "cdns,ttc";
clocks = <&clkc 6>;
reg = <0xF8001000 0x1000>;
clock-ranges;
};

ttc1: ttc1@f8002000 {
Expand All @@ -115,7 +151,6 @@
compatible = "cdns,ttc";
clocks = <&clkc 6>;
reg = <0xF8002000 0x1000>;
clock-ranges;
};
scutimer: scutimer@f8f00600 {
interrupt-parent = <&intc>;
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/zynq-zc702.dts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@

};

&gem0 {
status = "okay";
phy-mode = "rgmii";
};

&uart1 {
status = "okay";
};
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/zynq-zc706.dts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@

};

&gem0 {
status = "okay";
phy-mode = "rgmii";
};

&uart1 {
status = "okay";
};
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/zynq-zed.dts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@

};

&gem0 {
status = "okay";
phy-mode = "rgmii";
};

&uart1 {
status = "okay";
};

0 comments on commit 31d9561

Please sign in to comment.