Commit 41c9002a authored by Arnd Bergmann's avatar Arnd Bergmann

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

Pull "arm: Xilinx Zynq dt patches for v3.18" from Michal Simek:

- Add eth phys
- Add led for zc702
- Various dts cleanups
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>

* tag 'zynq-dt-for-3.18' of git://git.xilinx.com/linux-xlnx:
  ARM: zynq: Add ISL9305 regulator on Parallella board
  ARM: zynq: DT: Add Ethernet phys
  ARM: zynq: DT: Fix coding style issues in dtsi
  ARM: zynq: DT: Describe interrupt-names for pl330
  ARM: zynq: DT: Extend compatible string for zedboard
  ARM: zynq: DT: Use 0x prefix for memory nodes
  ARM: zynq: DT: Update years in header
  ARM: zynq: DT: Move size/address properties to dtsi
  ARM: zynq: DT: Fix Ethernet phy modes
  ARM: zynq: DT: Add LEDs to zc702 DT
parents 2d3a2cdb 6f752f70
...@@ -195,6 +195,8 @@ gem0: ethernet@e000b000 { ...@@ -195,6 +195,8 @@ gem0: ethernet@e000b000 {
interrupts = <0 22 4>; interrupts = <0 22 4>;
clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>; clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
clock-names = "pclk", "hclk", "tx_clk"; clock-names = "pclk", "hclk", "tx_clk";
#address-cells = <1>;
#size-cells = <0>;
}; };
gem1: ethernet@e000c000 { gem1: ethernet@e000c000 {
...@@ -204,6 +206,8 @@ gem1: ethernet@e000c000 { ...@@ -204,6 +206,8 @@ gem1: ethernet@e000c000 {
interrupts = <0 45 4>; interrupts = <0 45 4>;
clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>; clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>;
clock-names = "pclk", "hclk", "tx_clk"; clock-names = "pclk", "hclk", "tx_clk";
#address-cells = <1>;
#size-cells = <0>;
}; };
sdhci0: sdhci@e0100000 { sdhci0: sdhci@e0100000 {
...@@ -214,7 +218,7 @@ sdhci0: sdhci@e0100000 { ...@@ -214,7 +218,7 @@ sdhci0: sdhci@e0100000 {
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
interrupts = <0 24 4>; interrupts = <0 24 4>;
reg = <0xe0100000 0x1000>; reg = <0xe0100000 0x1000>;
} ; };
sdhci1: sdhci@e0101000 { sdhci1: sdhci@e0101000 {
compatible = "arasan,sdhci-8.9a"; compatible = "arasan,sdhci-8.9a";
...@@ -224,7 +228,7 @@ sdhci1: sdhci@e0101000 { ...@@ -224,7 +228,7 @@ sdhci1: sdhci@e0101000 {
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
interrupts = <0 47 4>; interrupts = <0 47 4>;
reg = <0xe0101000 0x1000>; reg = <0xe0101000 0x1000>;
} ; };
slcr: slcr@f8000000 { slcr: slcr@f8000000 {
#address-cells = <1>; #address-cells = <1>;
...@@ -256,6 +260,8 @@ dmac_s: dmac@f8003000 { ...@@ -256,6 +260,8 @@ dmac_s: dmac@f8003000 {
compatible = "arm,pl330", "arm,primecell"; compatible = "arm,pl330", "arm,primecell";
reg = <0xf8003000 0x1000>; reg = <0xf8003000 0x1000>;
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
interrupt-names = "abort", "dma0", "dma1", "dma2", "dma3",
"dma4", "dma5", "dma6", "dma7";
interrupts = <0 13 4>, interrupts = <0 13 4>,
<0 14 4>, <0 15 4>, <0 14 4>, <0 15 4>,
<0 16 4>, <0 17 4>, <0 16 4>, <0 17 4>,
...@@ -271,7 +277,7 @@ dmac_s: dmac@f8003000 { ...@@ -271,7 +277,7 @@ dmac_s: dmac@f8003000 {
devcfg: devcfg@f8007000 { devcfg: devcfg@f8007000 {
compatible = "xlnx,zynq-devcfg-1.0"; compatible = "xlnx,zynq-devcfg-1.0";
reg = <0xf8007000 0x100>; reg = <0xf8007000 0x100>;
} ; };
global_timer: timer@f8f00200 { global_timer: timer@f8f00200 {
compatible = "arm,cortex-a9-global-timer"; compatible = "arm,cortex-a9-global-timer";
...@@ -303,6 +309,6 @@ scutimer: timer@f8f00600 { ...@@ -303,6 +309,6 @@ scutimer: timer@f8f00600 {
compatible = "arm,cortex-a9-twd-timer"; compatible = "arm,cortex-a9-twd-timer";
reg = <0xf8f00600 0x20>; reg = <0xf8f00600 0x20>;
clocks = <&clkc 4>; clocks = <&clkc 4>;
} ; };
}; };
}; };
...@@ -25,7 +25,7 @@ / { ...@@ -25,7 +25,7 @@ / {
memory { memory {
device_type = "memory"; device_type = "memory";
reg = <0 0x40000000>; reg = <0x0 0x40000000>;
}; };
chosen { chosen {
...@@ -38,8 +38,6 @@ &gem0 { ...@@ -38,8 +38,6 @@ &gem0 {
status = "okay"; status = "okay";
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";
phy-handle = <&ethernet_phy>; phy-handle = <&ethernet_phy>;
#address-cells = <1>;
#size-cells = <0>;
ethernet_phy: ethernet-phy@0 { ethernet_phy: ethernet-phy@0 {
/* Marvell 88E1318 */ /* Marvell 88E1318 */
...@@ -53,6 +51,29 @@ ethernet_phy: ethernet-phy@0 { ...@@ -53,6 +51,29 @@ ethernet_phy: ethernet-phy@0 {
&i2c0 { &i2c0 {
status = "okay"; status = "okay";
isl9305: isl9305@68 {
compatible = "isl,isl9305";
reg = <0x68>;
regulators {
dcd1 {
regulator-name = "VDD_DSP";
regulator-always-on;
};
dcd2 {
regulator-name = "1P35V";
regulator-always-on;
};
ldo1 {
regulator-name = "VDD_ADJ";
};
ldo2 {
regulator-name = "VDD_GPIO";
regulator-always-on;
};
};
};
}; };
&sdhci1 { &sdhci1 {
......
/* /*
* Copyright (C) 2011 Xilinx * Copyright (C) 2011 - 2014 Xilinx
* Copyright (C) 2012 National Instruments Corp. * Copyright (C) 2012 National Instruments Corp.
* *
* This software is licensed under the terms of the GNU General Public * This software is licensed under the terms of the GNU General Public
...@@ -27,6 +27,15 @@ chosen { ...@@ -27,6 +27,15 @@ chosen {
bootargs = "console=ttyPS0,115200 earlyprintk"; bootargs = "console=ttyPS0,115200 earlyprintk";
}; };
leds {
compatible = "gpio-leds";
ds23 {
label = "ds23";
gpios = <&gpio0 10 0>;
linux,default-trigger = "heartbeat";
};
};
}; };
&can0 { &can0 {
...@@ -35,7 +44,12 @@ &can0 { ...@@ -35,7 +44,12 @@ &can0 {
&gem0 { &gem0 {
status = "okay"; status = "okay";
phy-mode = "rgmii"; phy-mode = "rgmii-id";
phy-handle = <&ethernet_phy>;
ethernet_phy: ethernet-phy@7 {
reg = <7>;
};
}; };
&i2c0 { &i2c0 {
......
/* /*
* Copyright (C) 2011 Xilinx * Copyright (C) 2011 - 2014 Xilinx
* Copyright (C) 2012 National Instruments Corp. * Copyright (C) 2012 National Instruments Corp.
* Copyright (C) 2013 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
...@@ -21,7 +20,7 @@ / { ...@@ -21,7 +20,7 @@ / {
memory { memory {
device_type = "memory"; device_type = "memory";
reg = <0 0x40000000>; reg = <0x0 0x40000000>;
}; };
chosen { chosen {
...@@ -32,7 +31,12 @@ chosen { ...@@ -32,7 +31,12 @@ chosen {
&gem0 { &gem0 {
status = "okay"; status = "okay";
phy-mode = "rgmii"; phy-mode = "rgmii-id";
phy-handle = <&ethernet_phy>;
ethernet_phy: ethernet-phy@7 {
reg = <7>;
};
}; };
&i2c0 { &i2c0 {
......
/* /*
* Copyright (C) 2011 Xilinx * Copyright (C) 2011 - 2014 Xilinx
* Copyright (C) 2012 National Instruments Corp. * Copyright (C) 2012 National Instruments Corp.
* Copyright (C) 2013 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
...@@ -17,11 +16,11 @@ ...@@ -17,11 +16,11 @@
/ { / {
model = "Zynq Zed Development Board"; model = "Zynq Zed Development Board";
compatible = "xlnx,zynq-7000"; compatible = "xlnx,zynq-zed", "xlnx,zynq-7000";
memory { memory {
device_type = "memory"; device_type = "memory";
reg = <0 0x20000000>; reg = <0x0 0x20000000>;
}; };
chosen { chosen {
...@@ -32,7 +31,12 @@ chosen { ...@@ -32,7 +31,12 @@ chosen {
&gem0 { &gem0 {
status = "okay"; status = "okay";
phy-mode = "rgmii"; phy-mode = "rgmii-id";
phy-handle = <&ethernet_phy>;
ethernet_phy: ethernet-phy@0 {
reg = <0>;
};
}; };
&sdhci0 { &sdhci0 {
......
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