6753ec8f3016cc16707440895127034fc2a86dd4
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3288-fpga.dts
1 /dts-v1/;
2
3 #include "rk3288.dtsi"
4
5 / {
6         compatible = "rockchip,rk3288-fpga";
7
8         memory {
9                 device_type = "memory";
10                 reg = <0x00000000 0x10000000>;
11         };
12
13         chosen {
14                 bootargs = "androidboot.console=ttyFIQ0 initrd=0x02000000,0x00800000";
15         };
16
17         fiq-debugger {
18                 status = "okay";
19         };
20
21         rockchip-rt5631 {
22                 compatible = "rockchip-rt5631";
23                 dais {
24                         dai0 {
25                                 codec-name = "rt5631.0-001a";
26                                 cpu-dai-name = "rockchip-i2s.0";
27                                 format = "i2s";
28                                 //continuous-clock;
29                                 //bitclock-inversion;
30                                 //frame-inversion;
31                                 //bitclock-master;
32                                 //frame-master;
33                         };
34                 };
35         };
36
37         rockchip-rk610 {
38                 compatible = "rockchip-rk610";
39                 dais {
40                         dai0 {
41                                 codec-name = "rk610_codec.0-0060";
42                                 cpu-dai-name = "rockchip-i2s.0";
43                                 format = "i2s";
44                                 //continuous-clock;
45                                 //bitclock-inversion;
46                                 //frame-inversion;
47                                 //bitclock-master;
48                                 //frame-master;
49                         };
50                 };
51         };
52
53         codec-hdmi-spdif {
54                 compatible = "hdmi-spdif";
55         };
56
57         codec-hdmi-i2s {
58                 compatible = "hdmi-i2s";
59         };
60
61         codec-hdmi-spdif {
62                 compatible = "hdmi-spdif";
63         };
64 };
65
66 &i2c0 {
67         status = "okay";
68         rt5631@1a {
69                 compatible = "rt5631";
70                 reg = <0x1a>;
71         };
72
73         rk610ctl@40 {
74                 compatible = "rk610_ctl";
75                 reg = <0x40>;
76                 rk610-reset-io = <&gpio3 GPIO_B2 GPIO_ACTIVE_HIGH>;
77         //      clocks = <&clk_i2s>;
78         //      clock-names = "i2s_clk";
79         };
80
81         rk610codec@60 {//RK610_CODEC addr  from 0x60 to 0x80 (0x60~0x80)
82                 compatible = "rk610_codec";
83                 reg = <0x60>;
84                 spk_ctl_io = <&gpio2 GPIO_D7 GPIO_ACTIVE_HIGH>;
85                 boot_depop = <1>;
86                 pa_enable_time = <1000>;
87         };
88
89 };