Keystone DTS updates for v3.18

- Add IRQ and GPIO nodes
 - Fix SPI chip select
 - Fix usb and pcie clock nodes
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJUIHqLAAoJEHJsHOdBp5c/oAkP/izvFIgYHLD9un5BIlVmyxWk
 WaGFYCXKlIhN/pf0XIGQUjt39ohpXDi63T3vztua5Gk8HV8sCnm+m0aeBRiG1ezf
 M96FeYgcbxiM56dd261JIBeP10cIB44TChP81RFftWE8QTP3Tc6qy1gcjLI5Q7Ya
 7gDOcfhXLa46L7+dm/MBpF+THfJG8MhRro+jCxIYrJEut3/764+QbzemFQaMRzsv
 +L1w+6aayMl+wPMsKr0MiM09AaxmafMrJ9ek1P+uNnh1hbyMI1FY2cXURVflNGFg
 ca6kRxR3T3Lw6o9Ii4cMe0kN1WcN/Vnkl+uxOY12MYbi6tUqzSoM1/TnI4ohTCKf
 mv30yfvPPqvp7pcYgUuC9nCywgaD95CAKdcsJCt8lpFzhwf2StvHbMbIpIwmDKKN
 tTI7zz67zWpnqmBjNSgBL1G631rqvMkKSvLf4gyaBAFNozAX5NJFmUr0Fa48YckL
 XqbmLLmu8viqpuphWx3QHIeHceW/jNLFoYlefWdSlLwiWExrxuKq7tnCmMxyXlai
 clWhNL0LhNjB/g0G6fCmIUIYGqLoNhMUZwj8kHKFWdsYjSqHm+JFeTZ9o/uuKurq
 BEh2jJ1d01ZIaptpFU7SDPt3DKS2AZEPFUhGpJAg88tqYaHc9i7pjyy+sFf/1eya
 jWeWAycqkTQkCyG4eU9R
 =BjWz
 -----END PGP SIGNATURE-----

Merge tag 'keystone-dts' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into next/dt

Pull "Keystone DTS updates for v3.18" from Santosh Shilimkar"

- Add IRQ and GPIO nodes
- Fix SPI chip select
- Fix usb and pcie clock nodes

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

* tag 'keystone-dts' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
  ARM: dts: keystone: fix bindings for pcie and usb clock nodes
  ARM: dts: keystone: k2l: Fix chip selects for SPI devices
  ARM: dts: keystone: add dsp gpio controllers nodes
  ARM: dts: keystone: add keystone irq controller node
This commit is contained in:
Arnd Bergmann 2014-09-26 00:40:43 +02:00
commit 8446cef1ca
5 changed files with 116 additions and 3 deletions

View File

@ -40,7 +40,7 @@ clkusb1: clkusb1 {
#clock-cells = <0>;
compatible = "ti,keystone,psc-clock";
clocks = <&chipclk16>;
clock-output-names = "usb";
clock-output-names = "usb1";
reg = <0x02350004 0xb00>, <0x02350000 0x400>;
reg-names = "control", "domain";
domain-id = <0>;
@ -60,8 +60,8 @@ clkpcie1: clkpcie1 {
#clock-cells = <0>;
compatible = "ti,keystone,psc-clock";
clocks = <&chipclk12>;
clock-output-names = "pcie";
reg = <0x0235006c 0xb00>, <0x02350000 0x400>;
clock-output-names = "pcie1";
reg = <0x0235006c 0xb00>, <0x02350048 0x400>;
reg-names = "control", "domain";
domain-id = <18>;
};

View File

@ -76,5 +76,12 @@ dwc3@25010000 {
usb-phy = <&usb1_phy>, <&usb1_phy>;
};
};
dspgpio0: keystone_dsp_gpio@02620240 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x240>;
};
};
};

View File

@ -42,5 +42,61 @@ cpu@3 {
soc {
/include/ "k2hk-clocks.dtsi"
dspgpio0: keystone_dsp_gpio@02620240 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x240>;
};
dspgpio1: keystone_dsp_gpio@2620244 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x244>;
};
dspgpio2: keystone_dsp_gpio@2620248 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x248>;
};
dspgpio3: keystone_dsp_gpio@262024c {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x24c>;
};
dspgpio4: keystone_dsp_gpio@2620250 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x250>;
};
dspgpio5: keystone_dsp_gpio@2620254 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x254>;
};
dspgpio6: keystone_dsp_gpio@2620258 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x258>;
};
dspgpio7: keystone_dsp_gpio@262025c {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x25c>;
};
};
};

View File

@ -51,5 +51,47 @@ uart3: serial@02348800 {
clocks = <&clkuart3>;
interrupts = <GIC_SPI 435 IRQ_TYPE_EDGE_RISING>;
};
dspgpio0: keystone_dsp_gpio@02620240 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x240>;
};
dspgpio1: keystone_dsp_gpio@2620244 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x244>;
};
dspgpio2: keystone_dsp_gpio@2620248 {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x248>;
};
dspgpio3: keystone_dsp_gpio@262024c {
compatible = "ti,keystone-dsp-gpio";
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x24c>;
};
};
};
&spi0 {
ti,davinci-spi-num-cs = <5>;
};
&spi1 {
ti,davinci-spi-num-cs = <3>;
};
&spi2 {
ti,davinci-spi-num-cs = <5>;
/* Pin muxed. Enabled and configured by Bootloader */
status = "disabled";
};

View File

@ -277,5 +277,13 @@ mdio: mdio@02090300 {
clock-names = "fck";
bus_freq = <2500000>;
};
kirq0: keystone_irq@26202a0 {
compatible = "ti,keystone-irq";
interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
interrupt-controller;
#interrupt-cells = <1>;
ti,syscon-dev = <&devctrl 0x2a0>;
};
};
};