aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/boot
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2016-02-19 07:19:43 -0500
committerAlexey Brodkin <abrodkin@synopsys.com>2016-04-26 11:26:54 -0400
commitb8c1eca1e089e8f4247b19b73955c875bf7b18ae (patch)
tree8469fcf7f84557ee791c89a1aab8a28695fe1f94 /arch/arc/boot
parent71d298ceff37620af92ed98230cf5058d5fb6a2f (diff)
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: Alexey 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
Diffstat (limited to 'arch/arc/boot')
-rw-r--r--arch/arc/boot/dts/axs10x_mb.dtsi61
1 files changed, 61 insertions, 0 deletions
diff --git a/arch/arc/boot/dts/axs10x_mb.dtsi b/arch/arc/boot/dts/axs10x_mb.dtsi
index ab5d5701e11d..823f15ca68df 100644
--- a/arch/arc/boot/dts/axs10x_mb.dtsi
+++ b/arch/arc/boot/dts/axs10x_mb.dtsi
@@ -34,6 +34,12 @@
34 clock-frequency = <50000000>; 34 clock-frequency = <50000000>;
35 #clock-cells = <0>; 35 #clock-cells = <0>;
36 }; 36 };
37
38 pguclk: pguclk {
39 #clock-cells = <0>;
40 compatible = "fixed-clock";
41 clock-frequency = <74440000>;
42 };
37 }; 43 };
38 44
39 ethernet@0x18000 { 45 ethernet@0x18000 {
@@ -155,6 +161,37 @@
155 clocks = <&i2cclk>; 161 clocks = <&i2cclk>;
156 interrupts = <16>; 162 interrupts = <16>;
157 163
164 adv7511:adv7511@39{
165 compatible="adi,adv7511";
166 reg = <0x39>;
167 interrupts = <23>;
168 adi,input-depth = <8>;
169 adi,input-colorspace = "rgb";
170 adi,input-clock = "1x";
171 adi,clock-delay = <0x03>;
172
173 ports {
174 #address-cells = <1>;
175 #size-cells = <0>;
176
177 /* RGB/YUV input */
178 port@0 {
179 reg = <0>;
180 adv7511_input:endpoint {
181 remote-endpoint = <&pgu_output>;
182 };
183 };
184
185 /* HDMI output */
186 port@1 {
187 reg = <1>;
188 adv7511_output: endpoint {
189 remote-endpoint = <&hdmi_connector_in>;
190 };
191 };
192 };
193 };
194
158 eeprom@0x54{ 195 eeprom@0x54{
159 compatible = "24c01"; 196 compatible = "24c01";
160 reg = <0x54>; 197 reg = <0x54>;
@@ -168,6 +205,16 @@
168 }; 205 };
169 }; 206 };
170 207
208 hdmi0: connector {
209 compatible = "hdmi-connector";
210 type = "a";
211 port {
212 hdmi_connector_in: endpoint {
213 remote-endpoint = <&adv7511_output>;
214 };
215 };
216 };
217
171 gpio0:gpio@13000 { 218 gpio0:gpio@13000 {
172 compatible = "snps,dw-apb-gpio"; 219 compatible = "snps,dw-apb-gpio";
173 reg = <0x13000 0x1000>; 220 reg = <0x13000 0x1000>;
@@ -229,5 +276,19 @@
229 reg = <2>; 276 reg = <2>;
230 }; 277 };
231 }; 278 };
279
280 pgu@17000 {
281 compatible = "snps,arcpgu";
282 reg = <0x17000 0x400>;
283 encoder-slave = <&adv7511>;
284 clocks = <&pguclk>;
285 clock-names = "pxlclk";
286
287 port {
288 pgu_output: endpoint {
289 remote-endpoint = <&adv7511_input>;
290 };
291 };
292 };
232 }; 293 };
233}; 294};