mirror of https://gitee.com/openkylin/linux.git
arm: Xilinx ZynqMP dt patches for v4.6
- Extract clock information from EP108 - Sort GPIO node -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlbO/SIACgkQykllyylKDCEL9QCfdcFczSmk3OWvubtp1/d7YoMs MhoAn33UBIqTGcmYgpRljfhWWStW1eRE =wlZ0 -----END PGP SIGNATURE----- Merge tag 'zynqmp-dt-for-4.6' of https://github.com/Xilinx/linux-xlnx into next/dt64 Merge "ARM: Xilinx ZynqMP dt patches for v4.6" from Michal Simek: - Extract clock information from EP108 - Sort GPIO node * tag 'zynqmp-dt-for-4.6' of https://github.com/Xilinx/linux-xlnx: ARM64: zynqmp: Extract clock information from EP108 ARM64: zynqmp: Keep gpio node alphabetically sorted
This commit is contained in:
commit
56c8b00fdb
|
@ -0,0 +1,88 @@
|
||||||
|
/*
|
||||||
|
* clock specification for Xilinx ZynqMP ep108 development board
|
||||||
|
*
|
||||||
|
* (C) Copyright 2015, Xilinx, Inc.
|
||||||
|
*
|
||||||
|
* Michal Simek <michal.simek@xilinx.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU General Public License as
|
||||||
|
* published by the Free Software Foundation; either version 2 of
|
||||||
|
* the License, or (at your option) any later version.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&amba {
|
||||||
|
misc_clk: misc_clk {
|
||||||
|
compatible = "fixed-clock";
|
||||||
|
#clock-cells = <0>;
|
||||||
|
clock-frequency = <25000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
i2c_clk: i2c_clk {
|
||||||
|
compatible = "fixed-clock";
|
||||||
|
#clock-cells = <0x0>;
|
||||||
|
clock-frequency = <111111111>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sata_clk: sata_clk {
|
||||||
|
compatible = "fixed-clock";
|
||||||
|
#clock-cells = <0>;
|
||||||
|
clock-frequency = <75000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&can0 {
|
||||||
|
clocks = <&misc_clk &misc_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&gem0 {
|
||||||
|
clocks = <&misc_clk>, <&misc_clk>, <&misc_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&gpio {
|
||||||
|
clocks = <&misc_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&i2c0 {
|
||||||
|
clocks = <&i2c_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&i2c1 {
|
||||||
|
clocks = <&i2c_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&sata {
|
||||||
|
clocks = <&sata_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&sdhci0 {
|
||||||
|
clocks = <&misc_clk>, <&misc_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&sdhci1 {
|
||||||
|
clocks = <&misc_clk>, <&misc_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&spi0 {
|
||||||
|
clocks = <&misc_clk &misc_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&spi1 {
|
||||||
|
clocks = <&misc_clk &misc_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart0 {
|
||||||
|
clocks = <&misc_clk &misc_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb0 {
|
||||||
|
clocks = <&misc_clk>, <&misc_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&usb1 {
|
||||||
|
clocks = <&misc_clk>, <&misc_clk>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&watchdog0 {
|
||||||
|
clocks= <&misc_clk>;
|
||||||
|
};
|
|
@ -14,6 +14,7 @@
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/include/ "zynqmp.dtsi"
|
/include/ "zynqmp.dtsi"
|
||||||
|
/include/ "zynqmp-ep108-clk.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "ZynqMP EP108";
|
model = "ZynqMP EP108";
|
||||||
|
|
|
@ -90,7 +90,7 @@ gic: interrupt-controller@f9010000 {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
amba {
|
amba: amba {
|
||||||
compatible = "simple-bus";
|
compatible = "simple-bus";
|
||||||
#address-cells = <2>;
|
#address-cells = <2>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
@ -99,7 +99,6 @@ amba {
|
||||||
can0: can@ff060000 {
|
can0: can@ff060000 {
|
||||||
compatible = "xlnx,zynq-can-1.0";
|
compatible = "xlnx,zynq-can-1.0";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
clocks = <&misc_clk &misc_clk>;
|
|
||||||
clock-names = "can_clk", "pclk";
|
clock-names = "can_clk", "pclk";
|
||||||
reg = <0x0 0xff060000 0x1000>;
|
reg = <0x0 0xff060000 0x1000>;
|
||||||
interrupts = <0 23 4>;
|
interrupts = <0 23 4>;
|
||||||
|
@ -111,7 +110,6 @@ can0: can@ff060000 {
|
||||||
can1: can@ff070000 {
|
can1: can@ff070000 {
|
||||||
compatible = "xlnx,zynq-can-1.0";
|
compatible = "xlnx,zynq-can-1.0";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
clocks = <&misc_clk &misc_clk>;
|
|
||||||
clock-names = "can_clk", "pclk";
|
clock-names = "can_clk", "pclk";
|
||||||
reg = <0x0 0xff070000 0x1000>;
|
reg = <0x0 0xff070000 0x1000>;
|
||||||
interrupts = <0 24 4>;
|
interrupts = <0 24 4>;
|
||||||
|
@ -120,24 +118,6 @@ can1: can@ff070000 {
|
||||||
rx-fifo-depth = <0x40>;
|
rx-fifo-depth = <0x40>;
|
||||||
};
|
};
|
||||||
|
|
||||||
misc_clk: misc_clk {
|
|
||||||
compatible = "fixed-clock";
|
|
||||||
#clock-cells = <0>;
|
|
||||||
clock-frequency = <25000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
gpio: gpio@ff0a0000 {
|
|
||||||
compatible = "xlnx,zynqmp-gpio-1.0";
|
|
||||||
status = "disabled";
|
|
||||||
#gpio-cells = <0x2>;
|
|
||||||
clocks = <&misc_clk>;
|
|
||||||
interrupt-parent = <&gic>;
|
|
||||||
interrupts = <0 16 4>;
|
|
||||||
interrupt-controller;
|
|
||||||
#interrupt-cells = <2>;
|
|
||||||
reg = <0x0 0xff0a0000 0x1000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
gem0: ethernet@ff0b0000 {
|
gem0: ethernet@ff0b0000 {
|
||||||
compatible = "cdns,gem";
|
compatible = "cdns,gem";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -145,7 +125,6 @@ gem0: ethernet@ff0b0000 {
|
||||||
interrupts = <0 57 4>, <0 57 4>;
|
interrupts = <0 57 4>, <0 57 4>;
|
||||||
reg = <0x0 0xff0b0000 0x1000>;
|
reg = <0x0 0xff0b0000 0x1000>;
|
||||||
clock-names = "pclk", "hclk", "tx_clk";
|
clock-names = "pclk", "hclk", "tx_clk";
|
||||||
clocks = <&misc_clk>, <&misc_clk>, <&misc_clk>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
@ -157,7 +136,6 @@ gem1: ethernet@ff0c0000 {
|
||||||
interrupts = <0 59 4>, <0 59 4>;
|
interrupts = <0 59 4>, <0 59 4>;
|
||||||
reg = <0x0 0xff0c0000 0x1000>;
|
reg = <0x0 0xff0c0000 0x1000>;
|
||||||
clock-names = "pclk", "hclk", "tx_clk";
|
clock-names = "pclk", "hclk", "tx_clk";
|
||||||
clocks = <&misc_clk>, <&misc_clk>, <&misc_clk>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
@ -169,7 +147,6 @@ gem2: ethernet@ff0d0000 {
|
||||||
interrupts = <0 61 4>, <0 61 4>;
|
interrupts = <0 61 4>, <0 61 4>;
|
||||||
reg = <0x0 0xff0d0000 0x1000>;
|
reg = <0x0 0xff0d0000 0x1000>;
|
||||||
clock-names = "pclk", "hclk", "tx_clk";
|
clock-names = "pclk", "hclk", "tx_clk";
|
||||||
clocks = <&misc_clk>, <&misc_clk>, <&misc_clk>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
@ -181,15 +158,19 @@ gem3: ethernet@ff0e0000 {
|
||||||
interrupts = <0 63 4>, <0 63 4>;
|
interrupts = <0 63 4>, <0 63 4>;
|
||||||
reg = <0x0 0xff0e0000 0x1000>;
|
reg = <0x0 0xff0e0000 0x1000>;
|
||||||
clock-names = "pclk", "hclk", "tx_clk";
|
clock-names = "pclk", "hclk", "tx_clk";
|
||||||
clocks = <&misc_clk>, <&misc_clk>, <&misc_clk>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c_clk: i2c_clk {
|
gpio: gpio@ff0a0000 {
|
||||||
compatible = "fixed-clock";
|
compatible = "xlnx,zynqmp-gpio-1.0";
|
||||||
#clock-cells = <0x0>;
|
status = "disabled";
|
||||||
clock-frequency = <111111111>;
|
#gpio-cells = <0x2>;
|
||||||
|
interrupt-parent = <&gic>;
|
||||||
|
interrupts = <0 16 4>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
reg = <0x0 0xff0a0000 0x1000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c0: i2c@ff020000 {
|
i2c0: i2c@ff020000 {
|
||||||
|
@ -198,7 +179,6 @@ i2c0: i2c@ff020000 {
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <0 17 4>;
|
interrupts = <0 17 4>;
|
||||||
reg = <0x0 0xff020000 0x1000>;
|
reg = <0x0 0xff020000 0x1000>;
|
||||||
clocks = <&i2c_clk>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
@ -209,24 +189,16 @@ i2c1: i2c@ff030000 {
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <0 18 4>;
|
interrupts = <0 18 4>;
|
||||||
reg = <0x0 0xff030000 0x1000>;
|
reg = <0x0 0xff030000 0x1000>;
|
||||||
clocks = <&i2c_clk>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
sata_clk: sata_clk {
|
|
||||||
compatible = "fixed-clock";
|
|
||||||
#clock-cells = <0>;
|
|
||||||
clock-frequency = <75000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
sata: ahci@fd0c0000 {
|
sata: ahci@fd0c0000 {
|
||||||
compatible = "ceva,ahci-1v84";
|
compatible = "ceva,ahci-1v84";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
reg = <0x0 0xfd0c0000 0x2000>;
|
reg = <0x0 0xfd0c0000 0x2000>;
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <0 133 4>;
|
interrupts = <0 133 4>;
|
||||||
clocks = <&sata_clk>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sdhci0: sdhci@ff160000 {
|
sdhci0: sdhci@ff160000 {
|
||||||
|
@ -236,7 +208,6 @@ sdhci0: sdhci@ff160000 {
|
||||||
interrupts = <0 48 4>;
|
interrupts = <0 48 4>;
|
||||||
reg = <0x0 0xff160000 0x1000>;
|
reg = <0x0 0xff160000 0x1000>;
|
||||||
clock-names = "clk_xin", "clk_ahb";
|
clock-names = "clk_xin", "clk_ahb";
|
||||||
clocks = <&misc_clk>, <&misc_clk>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sdhci1: sdhci@ff170000 {
|
sdhci1: sdhci@ff170000 {
|
||||||
|
@ -246,7 +217,6 @@ sdhci1: sdhci@ff170000 {
|
||||||
interrupts = <0 49 4>;
|
interrupts = <0 49 4>;
|
||||||
reg = <0x0 0xff170000 0x1000>;
|
reg = <0x0 0xff170000 0x1000>;
|
||||||
clock-names = "clk_xin", "clk_ahb";
|
clock-names = "clk_xin", "clk_ahb";
|
||||||
clocks = <&misc_clk>, <&misc_clk>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
smmu: smmu@fd800000 {
|
smmu: smmu@fd800000 {
|
||||||
|
@ -268,7 +238,6 @@ spi0: spi@ff040000 {
|
||||||
interrupts = <0 19 4>;
|
interrupts = <0 19 4>;
|
||||||
reg = <0x0 0xff040000 0x1000>;
|
reg = <0x0 0xff040000 0x1000>;
|
||||||
clock-names = "ref_clk", "pclk";
|
clock-names = "ref_clk", "pclk";
|
||||||
clocks = <&misc_clk &misc_clk>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
@ -280,7 +249,6 @@ spi1: spi@ff050000 {
|
||||||
interrupts = <0 20 4>;
|
interrupts = <0 20 4>;
|
||||||
reg = <0x0 0xff050000 0x1000>;
|
reg = <0x0 0xff050000 0x1000>;
|
||||||
clock-names = "ref_clk", "pclk";
|
clock-names = "ref_clk", "pclk";
|
||||||
clocks = <&misc_clk &misc_clk>;
|
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
@ -291,7 +259,6 @@ ttc0: timer@ff110000 {
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <0 36 4>, <0 37 4>, <0 38 4>;
|
interrupts = <0 36 4>, <0 37 4>, <0 38 4>;
|
||||||
reg = <0x0 0xff110000 0x1000>;
|
reg = <0x0 0xff110000 0x1000>;
|
||||||
clocks = <&misc_clk>;
|
|
||||||
timer-width = <32>;
|
timer-width = <32>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -301,7 +268,6 @@ ttc1: timer@ff120000 {
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <0 39 4>, <0 40 4>, <0 41 4>;
|
interrupts = <0 39 4>, <0 40 4>, <0 41 4>;
|
||||||
reg = <0x0 0xff120000 0x1000>;
|
reg = <0x0 0xff120000 0x1000>;
|
||||||
clocks = <&misc_clk>;
|
|
||||||
timer-width = <32>;
|
timer-width = <32>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -311,7 +277,6 @@ ttc2: timer@ff130000 {
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <0 42 4>, <0 43 4>, <0 44 4>;
|
interrupts = <0 42 4>, <0 43 4>, <0 44 4>;
|
||||||
reg = <0x0 0xff130000 0x1000>;
|
reg = <0x0 0xff130000 0x1000>;
|
||||||
clocks = <&misc_clk>;
|
|
||||||
timer-width = <32>;
|
timer-width = <32>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -321,7 +286,6 @@ ttc3: timer@ff140000 {
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <0 45 4>, <0 46 4>, <0 47 4>;
|
interrupts = <0 45 4>, <0 46 4>, <0 47 4>;
|
||||||
reg = <0x0 0xff140000 0x1000>;
|
reg = <0x0 0xff140000 0x1000>;
|
||||||
clocks = <&misc_clk>;
|
|
||||||
timer-width = <32>;
|
timer-width = <32>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -332,7 +296,6 @@ uart0: serial@ff000000 {
|
||||||
interrupts = <0 21 4>;
|
interrupts = <0 21 4>;
|
||||||
reg = <0x0 0xff000000 0x1000>;
|
reg = <0x0 0xff000000 0x1000>;
|
||||||
clock-names = "uart_clk", "pclk";
|
clock-names = "uart_clk", "pclk";
|
||||||
clocks = <&misc_clk &misc_clk>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
uart1: serial@ff010000 {
|
uart1: serial@ff010000 {
|
||||||
|
@ -342,7 +305,6 @@ uart1: serial@ff010000 {
|
||||||
interrupts = <0 22 4>;
|
interrupts = <0 22 4>;
|
||||||
reg = <0x0 0xff010000 0x1000>;
|
reg = <0x0 0xff010000 0x1000>;
|
||||||
clock-names = "uart_clk", "pclk";
|
clock-names = "uart_clk", "pclk";
|
||||||
clocks = <&misc_clk &misc_clk>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
usb0: usb@fe200000 {
|
usb0: usb@fe200000 {
|
||||||
|
@ -352,7 +314,6 @@ usb0: usb@fe200000 {
|
||||||
interrupts = <0 65 4>;
|
interrupts = <0 65 4>;
|
||||||
reg = <0x0 0xfe200000 0x40000>;
|
reg = <0x0 0xfe200000 0x40000>;
|
||||||
clock-names = "clk_xin", "clk_ahb";
|
clock-names = "clk_xin", "clk_ahb";
|
||||||
clocks = <&misc_clk>, <&misc_clk>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
usb1: usb@fe300000 {
|
usb1: usb@fe300000 {
|
||||||
|
@ -362,13 +323,11 @@ usb1: usb@fe300000 {
|
||||||
interrupts = <0 70 4>;
|
interrupts = <0 70 4>;
|
||||||
reg = <0x0 0xfe300000 0x40000>;
|
reg = <0x0 0xfe300000 0x40000>;
|
||||||
clock-names = "clk_xin", "clk_ahb";
|
clock-names = "clk_xin", "clk_ahb";
|
||||||
clocks = <&misc_clk>, <&misc_clk>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
watchdog0: watchdog@fd4d0000 {
|
watchdog0: watchdog@fd4d0000 {
|
||||||
compatible = "cdns,wdt-r1p2";
|
compatible = "cdns,wdt-r1p2";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
clocks= <&misc_clk>;
|
|
||||||
interrupt-parent = <&gic>;
|
interrupt-parent = <&gic>;
|
||||||
interrupts = <0 52 1>;
|
interrupts = <0 52 1>;
|
||||||
reg = <0x0 0xfd4d0000 0x1000>;
|
reg = <0x0 0xfd4d0000 0x1000>;
|
||||||
|
|
Loading…
Reference in New Issue