Commit b8c1eca1 authored by Alexey Brodkin's avatar Alexey Brodkin

arc: axs10x - add support of ARC PGU

Synopsys DesignWare ARC SDP boards sport ARC SDP display
controller attached to ADV7511 HDMI encoder.

That change adds desctiption of both ARC PGU and ADV7511 in
ARC SDP'd base-board Device Tree.
Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: devicetree@vger.kernel.org
Cc: linux-snps-arc@lists.infradead.org
parent 71d298ce
...@@ -34,6 +34,12 @@ mmcclk: mmcclk { ...@@ -34,6 +34,12 @@ mmcclk: mmcclk {
clock-frequency = <50000000>; clock-frequency = <50000000>;
#clock-cells = <0>; #clock-cells = <0>;
}; };
pguclk: pguclk {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <74440000>;
};
}; };
ethernet@0x18000 { ethernet@0x18000 {
...@@ -155,6 +161,37 @@ i2c@0x1f000 { ...@@ -155,6 +161,37 @@ i2c@0x1f000 {
clocks = <&i2cclk>; clocks = <&i2cclk>;
interrupts = <16>; 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{ eeprom@0x54{
compatible = "24c01"; compatible = "24c01";
reg = <0x54>; reg = <0x54>;
...@@ -168,6 +205,16 @@ eeprom@0x57{ ...@@ -168,6 +205,16 @@ eeprom@0x57{
}; };
}; };
hdmi0: connector {
compatible = "hdmi-connector";
type = "a";
port {
hdmi_connector_in: endpoint {
remote-endpoint = <&adv7511_output>;
};
};
};
gpio0:gpio@13000 { gpio0:gpio@13000 {
compatible = "snps,dw-apb-gpio"; compatible = "snps,dw-apb-gpio";
reg = <0x13000 0x1000>; reg = <0x13000 0x1000>;
...@@ -229,5 +276,19 @@ gpio1_bankc: gpio-controller@2 { ...@@ -229,5 +276,19 @@ gpio1_bankc: gpio-controller@2 {
reg = <2>; reg = <2>;
}; };
}; };
pgu@17000 {
compatible = "snps,arcpgu";
reg = <0x17000 0x400>;
encoder-slave = <&adv7511>;
clocks = <&pguclk>;
clock-names = "pxlclk";
port {
pgu_output: endpoint {
remote-endpoint = <&adv7511_input>;
};
};
};
}; };
}; };
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