2 * Device Tree Source for the Gose board
4 * Copyright (C) 2014-2015 Renesas Electronics Corporation
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.
18 * This command is required when Playback/Capture
20 * amixer set "LINEOUT Mixer DACL" on
23 #include "r8a7793.dtsi"
24 #include <dt-bindings/gpio/gpio.h>
25 #include <dt-bindings/input/input.h>
29 compatible = "renesas,gose", "renesas,r8a7793";
37 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
38 stdout-path = "serial0:115200n8";
42 device_type = "memory";
43 reg = <0 0x40000000 0 0x40000000>;
47 compatible = "gpio-keys";
50 gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
54 debounce-interval = <20>;
57 gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
61 debounce-interval = <20>;
64 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
68 debounce-interval = <20>;
71 gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
75 debounce-interval = <20>;
78 gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
82 debounce-interval = <20>;
85 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
89 debounce-interval = <20>;
92 gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
96 debounce-interval = <20>;
99 gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
100 linux,code = <KEY_D>;
103 debounce-interval = <20>;
106 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
107 linux,code = <KEY_E>;
110 debounce-interval = <20>;
113 gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
114 linux,code = <KEY_F>;
117 debounce-interval = <20>;
120 gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
121 linux,code = <KEY_G>;
124 debounce-interval = <20>;
129 compatible = "gpio-leds";
131 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
135 gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
139 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
145 compatible = "fixed-clock";
147 clock-frequency = <11289600>;
148 clock-output-names = "audio_clock";
152 compatible = "simple-audio-card";
154 simple-audio-card,format = "left_j";
155 simple-audio-card,bitclock-master = <&sndcodec>;
156 simple-audio-card,frame-master = <&sndcodec>;
158 sndcpu: simple-audio-card,cpu {
159 sound-dai = <&rcar_sound>;
162 sndcodec: simple-audio-card,codec {
163 sound-dai = <&ak4643>;
164 clocks = <&audio_clock>;
169 compatible = "hdmi-connector";
174 remote-endpoint = <&adv7511_out>;
180 compatible = "fixed-clock";
182 clock-frequency = <74250000>;
186 compatible = "fixed-clock";
188 clock-frequency = <148500000>;
193 pinctrl-0 = <&du_pins>;
194 pinctrl-names = "default";
197 clocks = <&mstp7_clks R8A7793_CLK_DU0>,
198 <&mstp7_clks R8A7793_CLK_DU1>,
199 <&mstp7_clks R8A7793_CLK_LVDS0>,
200 <&x13_clk>, <&x2_clk>;
201 clock-names = "du.0", "du.1", "lvds.0",
202 "dclkin.0", "dclkin.1";
207 remote-endpoint = <&adv7511_in>;
211 lvds_connector: endpoint {
218 clock-frequency = <20000000>;
223 renesas,groups = "i2c2";
224 renesas,function = "i2c2";
228 renesas,groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
229 renesas,function = "du";
232 scif0_pins: serial0 {
233 renesas,groups = "scif0_data_d";
234 renesas,function = "scif0";
237 scif1_pins: serial1 {
238 renesas,groups = "scif1_data_d";
239 renesas,function = "scif1";
243 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
244 renesas,function = "eth";
248 renesas,groups = "intc_irq0";
249 renesas,function = "intc";
253 renesas,groups = "qspi_ctrl", "qspi_data4";
254 renesas,function = "qspi";
258 renesas,groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
259 renesas,function = "ssi";
262 sound_clk_pins: sound_clk {
263 renesas,groups = "audio_clk_a";
264 renesas,function = "audio_clk";
269 pinctrl-0 = <ðer_pins &phy1_pins>;
270 pinctrl-names = "default";
272 phy-handle = <&phy1>;
273 renesas,ether-link-active-low;
276 phy1: ethernet-phy@1 {
278 interrupt-parent = <&irqc0>;
279 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
280 micrel,led-mode = <1>;
289 pinctrl-0 = <&scif0_pins>;
290 pinctrl-names = "default";
296 pinctrl-0 = <&scif1_pins>;
297 pinctrl-names = "default";
303 pinctrl-0 = <&qspi_pins>;
304 pinctrl-names = "default";
309 compatible = "spansion,s25fl512s", "jedec,spi-nor";
311 spi-max-frequency = <30000000>;
312 spi-tx-bus-width = <4>;
313 spi-rx-bus-width = <4>;
319 compatible = "fixed-partitions";
320 #address-cells = <1>;
325 reg = <0x00000000 0x00040000>;
330 reg = <0x00040000 0x00400000>;
335 reg = <0x00440000 0x03bc0000>;
342 pinctrl-0 = <&i2c2_pins>;
343 pinctrl-names = "default";
346 clock-frequency = <100000>;
349 compatible = "asahi-kasei,ak4643";
350 #sound-dai-cells = <0>;
355 compatible = "adi,adv7511w";
357 interrupt-parent = <&gpio3>;
358 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
360 adi,input-depth = <8>;
361 adi,input-colorspace = "rgb";
362 adi,input-clock = "1x";
363 adi,input-style = <1>;
364 adi,input-justification = "evenly";
367 #address-cells = <1>;
372 adv7511_in: endpoint {
373 remote-endpoint = <&du_out_rgb>;
379 adv7511_out: endpoint {
380 remote-endpoint = <&hdmi_con>;
387 compatible = "renesas,r1ex24002", "atmel,24c02";
394 pinctrl-0 = <&sound_pins &sound_clk_pins>;
395 pinctrl-names = "default";
398 #sound-dai-cells = <0>;