From a3d3ee3f7d0b754dc06de68248d752231dddc9a5 Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Mon, 22 Sep 2014 15:19:27 -0400 Subject: ARM: dts: keystone: add dsp gpio controllers nodes Add Keystone 2 DSP GPIO nodes for SoCs: k2hk: DSP GPIO banks 0-7 correspond to DSP0-DSP7 k2l: DSP GPIO banks 0-3 correspond to DSP0-DSP3 k2e: DSP GPIO bank 0 corresponds to DSP0 Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- arch/arm/boot/dts/k2l.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'arch/arm/boot/dts/k2l.dtsi') diff --git a/arch/arm/boot/dts/k2l.dtsi b/arch/arm/boot/dts/k2l.dtsi index 1f7f479589e1..e3bb14268900 100644 --- a/arch/arm/boot/dts/k2l.dtsi +++ b/arch/arm/boot/dts/k2l.dtsi @@ -51,5 +51,33 @@ clocks = <&clkuart3>; interrupts = ; }; + + 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>; + }; }; }; -- cgit v1.2.3 From 48443f07bd077f127d9157f22d8b5eefe28537a1 Mon Sep 17 00:00:00 2001 From: Karicheri Muralidharan Date: Mon, 22 Sep 2014 15:19:27 -0400 Subject: ARM: dts: keystone: k2l: Fix chip selects for SPI devices There are 5 chip selects per SPI0 and SPI2 and 3 per SPI1. SPI2 needs to be pinned out to use and by default they are disabled. So keep the state disabled to reflect default. Signed-off-by: Murali Karicheri Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- arch/arm/boot/dts/k2l.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'arch/arm/boot/dts/k2l.dtsi') diff --git a/arch/arm/boot/dts/k2l.dtsi b/arch/arm/boot/dts/k2l.dtsi index e3bb14268900..291db43a611d 100644 --- a/arch/arm/boot/dts/k2l.dtsi +++ b/arch/arm/boot/dts/k2l.dtsi @@ -81,3 +81,17 @@ }; }; }; + +&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"; +}; -- cgit v1.2.3 From 45aa70d1f77e3b88f776a34cf2b38858d922ca9b Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Wed, 1 Oct 2014 09:59:33 -0400 Subject: ARM: dts: keystone-k2l: fix mdio io start address The K2L MDIO io space has different start address. Hence, fix it to be 0x26200f00 according to TRM. Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- arch/arm/boot/dts/k2l.dtsi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/boot/dts/k2l.dtsi') diff --git a/arch/arm/boot/dts/k2l.dtsi b/arch/arm/boot/dts/k2l.dtsi index 291db43a611d..e32c3baa77b8 100644 --- a/arch/arm/boot/dts/k2l.dtsi +++ b/arch/arm/boot/dts/k2l.dtsi @@ -95,3 +95,7 @@ /* Pin muxed. Enabled and configured by Bootloader */ status = "disabled"; }; + +&mdio { + reg = <0x26200f00 0x100>; +}; -- cgit v1.2.3