OpenWrt – Blame information for rev 3
?pathlinks?
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>; |
||
3 | office | 24 | simple-audio-card,widgets = |
1 | office | 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 { |
||
3 | office | 85 | #address-cells = <1>; |
86 | #size-cells = <1>; |
||
1 | office | 87 | compatible = "mx25l6405d","jedec,spi-nor"; |
88 | reg = <0 0>; |
||
89 | spi-max-frequency = <10000000>; |
||
3 | office | 90 | m25p,chunked-io = <32>; |
1 | office | 91 | |
3 | office | 92 | partition@0 { |
93 | label = "u-boot"; |
||
94 | reg = <0x0 0x30000>; |
||
95 | read-only; |
||
96 | }; |
||
1 | office | 97 | |
3 | office | 98 | partition@30000 { |
99 | label = "u-boot-env"; |
||
100 | reg = <0x30000 0x10000>; |
||
101 | read-only; |
||
102 | }; |
||
1 | office | 103 | |
3 | office | 104 | factory: partition@40000 { |
105 | label = "factory"; |
||
106 | reg = <0x40000 0x10000>; |
||
107 | read-only; |
||
108 | }; |
||
1 | office | 109 | |
3 | office | 110 | partition@50000 { |
111 | label = "firmware"; |
||
112 | reg = <0x50000 0x7b0000>; |
||
1 | office | 113 | }; |
114 | }; |
||
115 | }; |
||
116 | |||
117 | &sdhci { |
||
118 | status = "okay"; |
||
119 | }; |
||
120 | |||
121 | ðernet { |
||
122 | mtd-mac-address = <&factory 0x5>; |
||
123 | }; |
||
124 | |||
125 | &pcie { |
||
126 | status = "okay"; |
||
127 | }; |