]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/boot/dts/stm32429i-eval.dts
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[karo-tx-linux.git] / arch / arm / boot / dts / stm32429i-eval.dts
index b6331146aa02df166cad3a7a15209b320a37f4cd..dcda0bbefe5b5a532df6a00f9c8a1083747acefe 100644 (file)
@@ -48,6 +48,7 @@
 /dts-v1/;
 #include "stm32f429.dtsi"
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        model = "STMicroelectronics STM32429i-EVAL board";
                serial0 = &usart1;
        };
 
+       clocks {
+               clk_ext_camera: clk-ext-camera {
+                       #clock-cells = <0>;
+                       compatible = "fixed-clock";
+                       clock-frequency = <24000000>;
+               };
+       };
+
        soc {
                dma-ranges = <0xc0000000 0x0 0x10000000>;
        };
                clocks = <&rcc 0 STM32F4_AHB1_CLOCK(OTGHSULPI)>;
                clock-names = "main_clk";
        };
+
+       panel_rgb: panel-rgb {
+               compatible = "ampire,am-480272h3tmqw-t01h";
+               status = "okay";
+               port {
+                       panel_in_rgb: endpoint {
+                               remote-endpoint = <&ltdc_out_rgb>;
+                       };
+               };
+       };
 };
 
 &adc {
        clock-frequency = <25000000>;
 };
 
+&crc {
+       status = "okay";
+};
+
+&dcmi {
+       status = "okay";
+
+       port {
+               dcmi_0: endpoint {
+                       remote-endpoint = <&ov2640_0>;
+                       bus-width = <8>;
+                       hsync-active = <0>;
+                       vsync-active = <0>;
+                       pclk-sample = <1>;
+               };
+       };
+};
+
 &i2c1 {
        pinctrl-0 = <&i2c1_pins>;
        pinctrl-names = "default";
        status = "okay";
+
+       ov2640: camera@30 {
+               compatible = "ovti,ov2640";
+               reg = <0x30>;
+               resetb-gpios = <&stmpegpio 2 GPIO_ACTIVE_HIGH>;
+               pwdn-gpios = <&stmpegpio 0 GPIO_ACTIVE_LOW>;
+               clocks = <&clk_ext_camera>;
+               clock-names = "xvclk";
+               status = "okay";
+
+               port {
+                       ov2640_0: endpoint {
+                               remote-endpoint = <&dcmi_0>;
+                       };
+               };
+       };
+
+       stmpe1600: stmpe1600@42 {
+               compatible = "st,stmpe1600";
+               reg = <0x42>;
+               irq-gpio = <&gpioi 8 0>;
+               irq-trigger = <3>;
+               interrupts = <8 3>;
+               interrupt-parent = <&exti>;
+               interrupt-controller;
+               wakeup-source;
+
+               stmpegpio: stmpe_gpio {
+                       compatible = "st,stmpe-gpio";
+                       gpio-controller;
+                       #gpio-cells = <2>;
+               };
+       };
+};
+
+&iwdg {
+       status = "okay";
+       timeout-sec = <32>;
+};
+
+&ltdc {
+       status = "okay";
+       pinctrl-0 = <&ltdc_pins>;
+       pinctrl-names = "default";
+       dma-ranges;
+
+       port {
+               ltdc_out_rgb: endpoint {
+                       remote-endpoint = <&panel_in_rgb>;
+               };
+       };
 };
 
 &mac {