Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
[sfrench/cifs-2.6.git] / arch / arc / boot / dts / axs10x_mb.dtsi
index 44a578c10732cd1ab79558415e3c66f6825c98bd..d6c1bbc98ac3b40caa94e60420996081bdafe44c 100644 (file)
                ranges = <0x00000000 0xe0000000 0x10000000>;
                interrupt-parent = <&mb_intc>;
 
+               i2sclk: i2sclk@100a0 {
+                       compatible = "snps,axs10x-i2s-pll-clock";
+                       reg = <0x100a0 0x10>;
+                       clocks = <&i2spll_clk>;
+                       #clock-cells = <0>;
+               };
+
                clocks {
+                       i2spll_clk: i2spll_clk {
+                               compatible = "fixed-clock";
+                               clock-frequency = <27000000>;
+                               #clock-cells = <0>;
+                       };
+
                        i2cclk: i2cclk {
                                compatible = "fixed-clock";
                                clock-frequency = <50000000>;
                                clock-frequency = <50000000>;
                                #clock-cells = <0>;
                        };
+
+                       pguclk: pguclk {
+                               #clock-cells = <0>;
+                               compatible = "fixed-clock";
+                               clock-frequency = <74440000>;
+                       };
                };
 
                ethernet@0x18000 {
                        clocks = <&i2cclk>;
                        interrupts = <16>;
 
+                       adv7511:adv7511@39{
+                               compatible="adi,adv7511";
+                               reg = <0x39>;
+                               interrupts = <23>;
+                               adi,input-depth = <8>;
+                               adi,input-colorspace = "rgb";
+                               adi,input-clock = "1x";
+                               adi,clock-delay = <0x03>;
+
+                               ports {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       /* RGB/YUV input */
+                                       port@0 {
+                                               reg = <0>;
+                                               adv7511_input:endpoint {
+                                               remote-endpoint = <&pgu_output>;
+                                               };
+                                       };
+
+                                       /* HDMI output */
+                                       port@1 {
+                                               reg = <1>;
+                                               adv7511_output: endpoint {
+                                                       remote-endpoint = <&hdmi_connector_in>;
+                                               };
+                                       };
+                               };
+                       };
+
                        eeprom@0x54{
                                compatible = "24c01";
                                reg = <0x54>;
                        };
                };
 
+               hdmi0: connector {
+                       compatible = "hdmi-connector";
+                       type = "a";
+                       port {
+                               hdmi_connector_in: endpoint {
+                                       remote-endpoint = <&adv7511_output>;
+                               };
+                       };
+               };
+
                gpio0:gpio@13000 {
                        compatible = "snps,dw-apb-gpio";
                        reg = <0x13000 0x1000>;
                                reg = <2>;
                        };
                };
+
+               pgu@17000 {
+                       compatible = "snps,arcpgu";
+                       reg = <0x17000 0x400>;
+                       encoder-slave = <&adv7511>;
+                       clocks = <&pguclk>;
+                       clock-names = "pxlclk";
+                       memory-region = <&frame_buffer>;
+                       port {
+                               pgu_output: endpoint {
+                                       remote-endpoint = <&adv7511_input>;
+                               };
+                       };
+               };
        };
 };