| .. | .. |
|---|
| 5 | 5 | */ |
|---|
| 6 | 6 | |
|---|
| 7 | 7 | / { |
|---|
| 8 | + aliases { |
|---|
| 9 | + mmc0 = &sdhci; |
|---|
| 10 | + mmc1 = &sdmmc0; |
|---|
| 11 | + mmc2 = &sdmmc1; |
|---|
| 12 | + mmc3 = &sdmmc2; |
|---|
| 13 | + }; |
|---|
| 14 | + |
|---|
| 8 | 15 | chosen: chosen { |
|---|
| 9 | 16 | bootargs = "earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rw rootwait"; |
|---|
| 10 | 17 | }; |
|---|
| .. | .. |
|---|
| 37 | 44 | <0x0 0xfd90e000 0x0 0x1000>, |
|---|
| 38 | 45 | <0x0 0xfd90f000 0x0 0x1000>; |
|---|
| 39 | 46 | }; |
|---|
| 40 | | - |
|---|
| 41 | | - rk809_sound: rk809-sound { |
|---|
| 42 | | - status = "okay"; |
|---|
| 43 | | - compatible = "simple-audio-card"; |
|---|
| 44 | | - simple-audio-card,format = "i2s"; |
|---|
| 45 | | - simple-audio-card,hp-det-gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_HIGH>; |
|---|
| 46 | | - simple-audio-card,name = "rockchip,rk809-codec"; |
|---|
| 47 | | - simple-audio-card,widgets = "Headphones", "Headphones Jack"; |
|---|
| 48 | | - simple-audio-card,mclk-fs = <256>; |
|---|
| 49 | | - simple-audio-card,cpu { |
|---|
| 50 | | - sound-dai = <&i2s1_8ch>; |
|---|
| 51 | | - }; |
|---|
| 52 | | - simple-audio-card,codec { |
|---|
| 53 | | - sound-dai = <&rk809_codec>; |
|---|
| 54 | | - }; |
|---|
| 55 | | - }; |
|---|
| 56 | | -}; |
|---|
| 57 | | - |
|---|
| 58 | | -&hdmi_sound { |
|---|
| 59 | | - status = "okay"; |
|---|
| 60 | | - rockchip,jack-det; |
|---|
| 61 | 47 | }; |
|---|
| 62 | 48 | |
|---|
| 63 | 49 | &reserved_memory { |
|---|
| .. | .. |
|---|
| 69 | 55 | ftrace-size = <0x00000>; |
|---|
| 70 | 56 | pmsg-size = <0x50000>; |
|---|
| 71 | 57 | }; |
|---|
| 72 | | -}; |
|---|
| 73 | | - |
|---|
| 74 | | -&rk809_codec { |
|---|
| 75 | | - #sound-dai-cells = <0>; |
|---|
| 76 | | - compatible = "rockchip,rk809-codec", "rockchip,rk817-codec"; |
|---|
| 77 | | - clocks = <&cru I2S1_MCLKOUT>; |
|---|
| 78 | | - clock-names = "mclk"; |
|---|
| 79 | | - assigned-clocks = <&cru I2S1_MCLKOUT>, <&cru I2S1_MCLK_TX_IOE>; |
|---|
| 80 | | - assigned-clock-rates = <12288000>; |
|---|
| 81 | | - assigned-clock-parents = <&cru I2S1_MCLKOUT_TX>, <&cru I2S1_MCLKOUT_TX>; |
|---|
| 82 | | - pinctrl-names = "default"; |
|---|
| 83 | | - pinctrl-0 = <&i2s1m0_mclk &hp_det>; |
|---|
| 84 | | - hp-volume = <20>; |
|---|
| 85 | | - spk-volume = <3>; |
|---|
| 86 | | - status = "okay"; |
|---|
| 87 | | -}; |
|---|
| 88 | | - |
|---|
| 89 | | -&rk_headset { |
|---|
| 90 | | - status = "disabled"; |
|---|
| 91 | 58 | }; |
|---|
| 92 | 59 | |
|---|
| 93 | 60 | &rng { |
|---|