Commit e138d433 authored by Naveen Krishna Chatradhi's avatar Naveen Krishna Chatradhi Committed by Mark Brown

ARM: dts: fix the chip select gpios definition in the SPI nodes

This patch replaces the "cs-gpio" from "controller-data" node
as was specified in the old binding and uses the standard
"cs-gpios" property expected by the SPI core as is defined now
in the spi-s3c64xx driver DT binding.
Signed-off-by: default avatarNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Reviewed-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 797bf3a2
...@@ -168,6 +168,7 @@ eeprom@52 { ...@@ -168,6 +168,7 @@ eeprom@52 {
}; };
spi_2: spi@13940000 { spi_2: spi@13940000 {
cs-gpios = <&gpc1 2 0>;
status = "okay"; status = "okay";
w25x80@0 { w25x80@0 {
...@@ -178,7 +179,6 @@ w25x80@0 { ...@@ -178,7 +179,6 @@ w25x80@0 {
spi-max-frequency = <1000000>; spi-max-frequency = <1000000>;
controller-data { controller-data {
cs-gpio = <&gpc1 2 0>;
samsung,spi-feedback-delay = <0>; samsung,spi-feedback-delay = <0>;
}; };
......
...@@ -589,6 +589,7 @@ cm36651@18 { ...@@ -589,6 +589,7 @@ cm36651@18 {
spi_1: spi@13930000 { spi_1: spi@13930000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&spi1_bus>; pinctrl-0 = <&spi1_bus>;
cs-gpios = <&gpb 5 0>;
status = "okay"; status = "okay";
s5c73m3_spi: s5c73m3 { s5c73m3_spi: s5c73m3 {
...@@ -596,7 +597,6 @@ s5c73m3_spi: s5c73m3 { ...@@ -596,7 +597,6 @@ s5c73m3_spi: s5c73m3 {
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
reg = <0>; reg = <0>;
controller-data { controller-data {
cs-gpio = <&gpb 5 0>;
samsung,spi-feedback-delay = <2>; samsung,spi-feedback-delay = <2>;
}; };
}; };
......
...@@ -316,6 +316,7 @@ slot@0 { ...@@ -316,6 +316,7 @@ slot@0 {
}; };
spi_1: spi@12d30000 { spi_1: spi@12d30000 {
cs-gpios = <&gpa2 5 0>;
status = "okay"; status = "okay";
w25q80bw@0 { w25q80bw@0 {
...@@ -326,7 +327,6 @@ w25q80bw@0 { ...@@ -326,7 +327,6 @@ w25q80bw@0 {
spi-max-frequency = <1000000>; spi-max-frequency = <1000000>;
controller-data { controller-data {
cs-gpio = <&gpa2 5 0>;
samsung,spi-feedback-delay = <0>; samsung,spi-feedback-delay = <0>;
}; };
......
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