ARM: shmobile: alt: Correct scif2 pfc
[deliverable/linux.git] / arch / arm / boot / dts / r8a7794-alt.dts
CommitLineData
a742795b
UH
1/*
2 * Device Tree Source for the Alt board
3 *
4 * Copyright (C) 2014 Renesas Electronics Corporation
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
11/dts-v1/;
12#include "r8a7794.dtsi"
13
14/ {
15 model = "Alt";
16 compatible = "renesas,alt", "renesas,r8a7794";
17
18 aliases {
19 serial0 = &scif2;
20 };
21
22 chosen {
89aeff99 23 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
b4a0f50c 24 stdout-path = &scif2;
a742795b
UH
25 };
26
27 memory@40000000 {
28 device_type = "memory";
29 reg = <0 0x40000000 0 0x40000000>;
30 };
31
32 lbsc {
33 #address-cells = <1>;
34 #size-cells = <1>;
35 };
876e7fb9
MD
36
37 vga-encoder {
38 compatible = "adi,adv7123";
39
40 ports {
41 #address-cells = <1>;
42 #size-cells = <0>;
43
44 port@0 {
45 reg = <0>;
46 adv7123_in: endpoint {
47 remote-endpoint = <&du_out_rgb1>;
48 };
49 };
50 port@1 {
51 reg = <1>;
52 adv7123_out: endpoint {
53 remote-endpoint = <&vga_in>;
54 };
55 };
56 };
57 };
58
59 vga {
60 compatible = "vga-connector";
61
62 port {
63 vga_in: endpoint {
64 remote-endpoint = <&adv7123_out>;
65 };
66 };
67 };
68
69 x2_clk: x2-clock {
70 compatible = "fixed-clock";
71 #clock-cells = <0>;
72 clock-frequency = <74250000>;
73 };
74
75 x13_clk: x13-clock {
76 compatible = "fixed-clock";
77 #clock-cells = <0>;
78 clock-frequency = <148500000>;
79 };
80};
81
82&du {
13b8b8e8
MD
83 pinctrl-0 = <&du_pins>;
84 pinctrl-names = "default";
876e7fb9
MD
85 status = "okay";
86
87 clocks = <&mstp7_clks R8A7794_CLK_DU0>,
88 <&mstp7_clks R8A7794_CLK_DU0>,
89 <&x13_clk>, <&x2_clk>;
90 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
91
92 ports {
93 port@1 {
94 endpoint {
95 remote-endpoint = <&adv7123_in>;
96 };
97 };
98 };
a742795b
UH
99};
100
101&extal_clk {
102 clock-frequency = <20000000>;
103};
104
22b16071 105&pfc {
13b8b8e8
MD
106 du_pins: du {
107 renesas,groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_dotclkout0";
108 renesas,function = "du";
109 };
110
22b16071
SH
111 scif2_pins: serial2 {
112 renesas,groups = "scif2_data";
113 renesas,function = "scif2";
114 };
115
116 ether_pins: ether {
117 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
118 renesas,function = "eth";
119 };
120
121 ether_b_pins: ether {
122 renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b";
123 renesas,function = "eth";
124 };
7f81bf72
UH
125
126 i2c1_pins: i2c1 {
127 renesas,groups = "i2c1";
128 renesas,function = "i2c1";
129 };
d537543b
UH
130
131 vin0_pins: vin0 {
132 renesas,groups = "vin0_data8", "vin0_clk";
133 renesas,function = "vin0";
134 };
22b16071
SH
135};
136
a742795b 137&cmt0 {
38e02908 138 status = "okay";
a742795b
UH
139};
140
a895b7cd
LP
141&ether {
142 phy-handle = <&phy1>;
143 renesas,ether-link-active-low;
144 status = "okay";
145
146 phy1: ethernet-phy@1 {
147 reg = <1>;
148 interrupt-parent = <&irqc0>;
1fc58015 149 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
a895b7cd
LP
150 micrel,led-mode = <1>;
151 };
152};
153
7f81bf72
UH
154&i2c1 {
155 pinctrl-0 = <&i2c1_pins>;
156 pinctrl-names = "default";
157
158 status = "okay";
159 clock-frequency = <400000>;
d537543b
UH
160
161 composite-in@20 {
162 compatible = "adi,adv7180";
163 reg = <0x20>;
164 remote = <&vin0>;
165
166 port {
167 adv7180: endpoint {
168 bus-width = <8>;
169 remote-endpoint = <&vin0ep>;
170 };
171 };
172 };
173};
174
175&vin0 {
176 status = "okay";
177 pinctrl-0 = <&vin0_pins>;
178 pinctrl-names = "default";
179
180 port {
181 #address-cells = <1>;
182 #size-cells = <0>;
183
184 vin0ep: endpoint {
185 remote-endpoint = <&adv7180>;
186 bus-width = <8>;
187 };
188 };
7f81bf72
UH
189};
190
a742795b 191&scif2 {
7256587c
SH
192 pinctrl-0 = <&scif2_pins>;
193 pinctrl-names = "default";
194
38e02908 195 status = "okay";
a742795b 196};
This page took 0.085589 seconds and 5 git commands to generate.