]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: at91: move isi definition to at91sam9g25ek
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 14 Jul 2016 14:50:17 +0000 (16:50 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 15 Jul 2016 09:23:45 +0000 (11:23 +0200)
The ISI is only present on the at91sam9g25, move the definition to the
at91sam9g25ek board dts to avoid warnings.

Solves the following warning for other 9x5ek boards:
Warning (unit_address_vs_reg): Node /ahb/apb/isi@f8048000 has a unit name, but no reg property

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91sam9g25ek.dts
arch/arm/boot/dts/at91sam9x5ek.dtsi

index 707fd4ea58f5d425bce8df2f2097f31ca0c2ae20..30bfd2e12caef2f01d88953ea73330ce206d26e5 100644 (file)
 
                        i2c0: i2c@f8010000 {
                                ov2640: camera@0x30 {
+                                       compatible = "ovti,ov2640";
+                                       reg = <0x30>;
+                                       pinctrl-names = "default";
+                                       pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
+                                       resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
+                                       pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>;
+                                       clocks = <&pck0>;
+                                       clock-names = "xvclk";
+                                       assigned-clocks = <&pck0>;
+                                       assigned-clock-rates = <25000000>;
                                        status = "okay";
+
+                                       port {
+                                               ov2640_0: endpoint {
+                                                       remote-endpoint = <&isi_0>;
+                                                       bus-width = <8>;
+                                               };
+                                       };
                                };
                        };
 
 
                        isi: isi@f8048000 {
                                status = "okay";
+                               port {
+                                       isi_0: endpoint@0 {
+                                               remote-endpoint = <&ov2640_0>;
+                                               bus-width = <8>;
+                                               vsync-active = <1>;
+                                               hsync-active = <1>;
+                                       };
+                               };
                        };
                };
        };
index 52425a4ca97e878a903d5b578fa0990fecf46785..696b8ba064a679a7b15eb01d58fa98726241d4b6 100644 (file)
                                status = "okay";
                        };
 
-                       isi: isi@f8048000 {
-                               status = "disabled";
-                               port {
-                                       isi_0: endpoint@0 {
-                                               remote-endpoint = <&ov2640_0>;
-                                               bus-width = <8>;
-                                               vsync-active = <1>;
-                                               hsync-active = <1>;
-                                       };
-                               };
-                       };
-
                        i2c0: i2c@f8010000 {
                                status = "okay";
 
                                        compatible = "wm8731";
                                        reg = <0x1a>;
                                };
-
-                               ov2640: camera@0x30 {
-                                       compatible = "ovti,ov2640";
-                                       reg = <0x30>;
-                                       pinctrl-names = "default";
-                                       pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
-                                       resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
-                                       pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>;
-                                       clocks = <&pck0>;
-                                       clock-names = "xvclk";
-                                       assigned-clocks = <&pck0>;
-                                       assigned-clock-rates = <25000000>;
-                                       status = "disabled";
-
-                                       port {
-                                               ov2640_0: endpoint {
-                                                       remote-endpoint = <&isi_0>;
-                                                       bus-width = <8>;
-                                               };
-                                       };
-                               };
                        };
 
                        adc0: adc@f804c000 {