OpenWrt – Blame information for rev 2

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /dts-v1/;
2  
3 #include "mt7621.dtsi"
4  
5 / {
6 compatible = "mediatek,ap-mt7621a-v60", "mediatek,mt7621-soc";
7 model = "Mediatek AP-MT7621A-V60 EVB";
8  
9 memory@0 {
10 device_type = "memory";
11 reg = <0x0 0x8000000>;
12 };
13  
14 chosen {
15 bootargs = "console=ttyS0,57600";
16 };
17  
18 sound {
19 compatible = "simple-audio-card";
20 simple-audio-card,name = "Audio-I2S";
21 simple-audio-card,format = "i2s";
22 simple-audio-card,bitclock-master = <&dailink0_master>;
23 simple-audio-card,frame-master = <&dailink0_master>;
24 simple-audio-card,widgets =
25 "Microphone", "Microphone Jack",
26 "Headphone", "Headphone Jack";
27 simple-audio-card,routing =
28 "LINPUT1", "Microphone Jack",
29 "RINPUT1", "Microphone Jack",
30 "Headphone Jack", "HP_L",
31 "Headphone Jack", "HP_R";
32 simple-audio-card,mclk-fs = <256>;
33  
34 simple-audio-card,cpu {
35 sound-dai = <&i2s>;
36 };
37  
38 dailink0_master: simple-audio-card,codec {
39 sound-dai = <&codec>;
40 };
41 };
42 };
43  
44 &pinctrl {
45 state_default: pinctrl0 {
46 gpio {
47 ralink,group = "uart2", "rgmii2";
48 ralink,function = "gpio";
49 };
50 };
51 i2s_pins: i2s {
52 i2s {
53 ralink,group = "uart3";
54 ralink,function = "i2s";
55 };
56 };
57 };
58  
59 &i2c {
60 status = "okay";
61  
62 codec: wm8960@1a {
63 #sound-dai-cells = <0>;
64 compatible = "wlf,wm8960";
65 reg = <0x1a>;
66 wlf,shared-lrclk;
67 };
68 };
69  
70 &gdma {
71 status = "okay";
72 };
73  
74 &i2s {
75 #sound-dai-cells = <0>;
76 status = "okay";
77 pinctrl-names = "default";
78 pinctrl-0 = <&i2s_pins>;
79 };
80  
81 &spi0 {
82 status = "okay";
83  
84 mx25l6405d@0 {
85 compatible = "mx25l6405d","jedec,spi-nor";
86 reg = <0 0>;
87 spi-max-frequency = <10000000>;
88  
89 partitions {
90 compatible = "fixed-partitions";
91 #address-cells = <1>;
92 #size-cells = <1>;
93  
94 partition@0 {
95 label = "u-boot";
96 reg = <0x0 0x30000>;
97 read-only;
98 };
99  
100 partition@30000 {
101 label = "u-boot-env";
102 reg = <0x30000 0x10000>;
103 read-only;
104 };
105  
106 factory: partition@40000 {
107 label = "factory";
108 reg = <0x40000 0x10000>;
109 read-only;
110 };
111  
112 partition@50000 {
113 compatible = "denx,uimage";
114 label = "firmware";
115 reg = <0x50000 0x7b0000>;
116 };
117 };
118 };
119 };
120  
121 &sdhci {
122 status = "okay";
123 };
124  
125 &ethernet {
126 mtd-mac-address = <&factory 0x5>;
127 };
128  
129 &pcie {
130 status = "okay";
131 };