ARM: dts: Add SPI1 controller and s5c73m3 sensor node for TRATS2
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 5 Aug 2013 17:49:45 +0000 (02:49 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 6 Aug 2013 16:07:57 +0000 (01:07 +0900)
This patch add dts entries required for the SPI bus used for
firware upload by the S5C73M3 camera.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4412-trats2.dts

index 5558e5a..fb7b9ae 100644 (file)
                };
        };
 
+       spi_1: spi@13930000 {
+               pinctrl-names = "default";
+               pinctrl-0 = <&spi1_bus>;
+               status = "okay";
+
+               s5c73m3_spi: s5c73m3 {
+                       compatible = "samsung,s5c73m3";
+                       spi-max-frequency = <50000000>;
+                       reg = <0>;
+                       controller-data {
+                               cs-gpio = <&gpb 5 0>;
+                               samsung,spi-feedback-delay = <2>;
+                       };
+               };
+       };
+
        camera {
                pinctrl-0 = <&cam_port_b_clk_active>;
                pinctrl-names = "default";