~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/rockchip/rk3066a-mk808.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/rockchip/rk3066a-mk808.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/rockchip/rk3066a-mk808.dts (Architecture mips)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2016 Paweł Jarosz <paweljaros      3  * Copyright (c) 2016 Paweł Jarosz <paweljarosz3691@gmail.com>
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7 #include <dt-bindings/input/input.h>                7 #include <dt-bindings/input/input.h>
  8 #include "rk3066a.dtsi"                             8 #include "rk3066a.dtsi"
  9                                                     9 
 10 / {                                                10 / {
 11         model = "Rikomagic MK808";                 11         model = "Rikomagic MK808";
 12         compatible = "rikomagic,mk808", "rockc     12         compatible = "rikomagic,mk808", "rockchip,rk3066a";
 13                                                    13 
 14         aliases {                                  14         aliases {
 15                 mmc0 = &mmc0;                      15                 mmc0 = &mmc0;
 16                 mmc1 = &mmc1;                      16                 mmc1 = &mmc1;
 17         };                                         17         };
 18                                                    18 
 19         chosen {                                   19         chosen {
 20                 stdout-path = "serial2:115200n     20                 stdout-path = "serial2:115200n8";
 21         };                                         21         };
 22                                                    22 
 23         memory@60000000 {                          23         memory@60000000 {
 24                 reg = <0x60000000 0x40000000>;     24                 reg = <0x60000000 0x40000000>;
 25                 device_type = "memory";            25                 device_type = "memory";
 26         };                                         26         };
 27                                                    27 
 28         adc-keys {                                 28         adc-keys {
 29                 compatible = "adc-keys";           29                 compatible = "adc-keys";
 30                 io-channels = <&saradc 1>;         30                 io-channels = <&saradc 1>;
 31                 io-channel-names = "buttons";      31                 io-channel-names = "buttons";
 32                 keyup-threshold-microvolt = <2     32                 keyup-threshold-microvolt = <2500000>;
 33                 poll-interval = <100>;             33                 poll-interval = <100>;
 34                                                    34 
 35                 button-recovery {                  35                 button-recovery {
 36                         label = "recovery";        36                         label = "recovery";
 37                         linux,code = <KEY_VEND     37                         linux,code = <KEY_VENDOR>;
 38                         press-threshold-microv     38                         press-threshold-microvolt = <0>;
 39                 };                                 39                 };
 40         };                                         40         };
 41                                                    41 
 42         gpio-leds {                                42         gpio-leds {
 43                 compatible = "gpio-leds";          43                 compatible = "gpio-leds";
 44                                                    44 
 45                 blue_led: led-0 {                  45                 blue_led: led-0 {
 46                         label = "mk808:blue:po     46                         label = "mk808:blue:power";
 47                         gpios = <&gpio0 RK_PA3     47                         gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
 48                         default-state = "off";     48                         default-state = "off";
 49                         linux,default-trigger      49                         linux,default-trigger = "default-on";
 50                 };                                 50                 };
 51         };                                         51         };
 52                                                    52 
 53         hdmi_con {                                 53         hdmi_con {
 54                 compatible = "hdmi-connector";     54                 compatible = "hdmi-connector";
 55                 type = "c";                        55                 type = "c";
 56                                                    56 
 57                 port {                             57                 port {
 58                         hdmi_con_in: endpoint      58                         hdmi_con_in: endpoint {
 59                                 remote-endpoin     59                                 remote-endpoint = <&hdmi_out_con>;
 60                         };                         60                         };
 61                 };                                 61                 };
 62         };                                         62         };
 63                                                    63 
 64         vcc_2v5: vcc-2v5 {                         64         vcc_2v5: vcc-2v5 {
 65                 compatible = "regulator-fixed"     65                 compatible = "regulator-fixed";
 66                 regulator-name = "vcc_2v5";        66                 regulator-name = "vcc_2v5";
 67                 regulator-min-microvolt = <250     67                 regulator-min-microvolt = <2500000>;
 68                 regulator-max-microvolt = <250     68                 regulator-max-microvolt = <2500000>;
 69         };                                         69         };
 70                                                    70 
 71         vcc_io: vcc-io {                           71         vcc_io: vcc-io {
 72                 compatible = "regulator-fixed"     72                 compatible = "regulator-fixed";
 73                 regulator-name = "vcc_io";         73                 regulator-name = "vcc_io";
 74                 regulator-min-microvolt = <330     74                 regulator-min-microvolt = <3300000>;
 75                 regulator-max-microvolt = <330     75                 regulator-max-microvolt = <3300000>;
 76         };                                         76         };
 77                                                    77 
 78         vcc_host: usb-host-regulator {             78         vcc_host: usb-host-regulator {
 79                 compatible = "regulator-fixed"     79                 compatible = "regulator-fixed";
 80                 enable-active-high;                80                 enable-active-high;
 81                 gpio = <&gpio0 RK_PA6 GPIO_ACT     81                 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
 82                 pinctrl-0 = <&host_drv>;           82                 pinctrl-0 = <&host_drv>;
 83                 pinctrl-names = "default";         83                 pinctrl-names = "default";
 84                 regulator-always-on;               84                 regulator-always-on;
 85                 regulator-name = "host-pwr";       85                 regulator-name = "host-pwr";
 86                 regulator-min-microvolt = <500     86                 regulator-min-microvolt = <5000000>;
 87                 regulator-max-microvolt = <500     87                 regulator-max-microvolt = <5000000>;
 88                 startup-delay-us = <100000>;       88                 startup-delay-us = <100000>;
 89                 vin-supply = <&vcc_io>;            89                 vin-supply = <&vcc_io>;
 90         };                                         90         };
 91                                                    91 
 92         vcc_otg: usb-otg-regulator {               92         vcc_otg: usb-otg-regulator {
 93                 compatible = "regulator-fixed"     93                 compatible = "regulator-fixed";
 94                 enable-active-high;                94                 enable-active-high;
 95                 gpio = <&gpio0 RK_PA5 GPIO_ACT     95                 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
 96                 pinctrl-0 = <&otg_drv>;            96                 pinctrl-0 = <&otg_drv>;
 97                 pinctrl-names = "default";         97                 pinctrl-names = "default";
 98                 regulator-always-on;               98                 regulator-always-on;
 99                 regulator-name = "vcc_otg";        99                 regulator-name = "vcc_otg";
100                 regulator-min-microvolt = <500    100                 regulator-min-microvolt = <5000000>;
101                 regulator-max-microvolt = <500    101                 regulator-max-microvolt = <5000000>;
102                 startup-delay-us = <100000>;      102                 startup-delay-us = <100000>;
103                 vin-supply = <&vcc_io>;           103                 vin-supply = <&vcc_io>;
104         };                                        104         };
105                                                   105 
106         vcc_sd: sdmmc-regulator {                 106         vcc_sd: sdmmc-regulator {
107                 compatible = "regulator-fixed"    107                 compatible = "regulator-fixed";
108                 gpio = <&gpio3 RK_PA7 GPIO_ACT    108                 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
109                 pinctrl-0 = <&sdmmc_pwr>;         109                 pinctrl-0 = <&sdmmc_pwr>;
110                 pinctrl-names = "default";        110                 pinctrl-names = "default";
111                 regulator-name = "vcc_sd";        111                 regulator-name = "vcc_sd";
112                 regulator-min-microvolt = <330    112                 regulator-min-microvolt = <3300000>;
113                 regulator-max-microvolt = <330    113                 regulator-max-microvolt = <3300000>;
114                 startup-delay-us = <100000>;      114                 startup-delay-us = <100000>;
115                 vin-supply = <&vcc_io>;           115                 vin-supply = <&vcc_io>;
116         };                                        116         };
117                                                   117 
118         vcc_wifi: sdio-regulator {                118         vcc_wifi: sdio-regulator {
119                 compatible = "regulator-fixed"    119                 compatible = "regulator-fixed";
120                 enable-active-high;               120                 enable-active-high;
121                 gpio = <&gpio3 RK_PD0 GPIO_ACT    121                 gpio = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
122                 pinctrl-0 = <&wifi_pwr>;          122                 pinctrl-0 = <&wifi_pwr>;
123                 pinctrl-names = "default";        123                 pinctrl-names = "default";
124                 regulator-name = "vcc_wifi";      124                 regulator-name = "vcc_wifi";
125                 regulator-min-microvolt = <330    125                 regulator-min-microvolt = <3300000>;
126                 regulator-max-microvolt = <330    126                 regulator-max-microvolt = <3300000>;
127                 startup-delay-us = <100000>;      127                 startup-delay-us = <100000>;
128                 vin-supply = <&vcc_io>;           128                 vin-supply = <&vcc_io>;
129         };                                        129         };
130 };                                                130 };
131                                                   131 
132 &hdmi {                                           132 &hdmi {
133         status = "okay";                          133         status = "okay";
134 };                                                134 };
135                                                   135 
136 &hdmi_in_vop1 {                                   136 &hdmi_in_vop1 {
137         status = "disabled";                      137         status = "disabled";
138 };                                                138 };
139                                                   139 
140 &hdmi_out {                                       140 &hdmi_out {
141         hdmi_out_con: endpoint {                  141         hdmi_out_con: endpoint {
142                 remote-endpoint = <&hdmi_con_i    142                 remote-endpoint = <&hdmi_con_in>;
143         };                                        143         };
144 };                                                144 };
145                                                   145 
146 &hdmi_sound {                                     146 &hdmi_sound {
147         status = "okay";                          147         status = "okay";
148 };                                                148 };
149                                                   149 
150 &i2s0 {                                           150 &i2s0 {
151         status = "okay";                          151         status = "okay";
152 };                                                152 };
153                                                   153 
154 &mmc0 {                                           154 &mmc0 {
155         bus-width = <4>;                          155         bus-width = <4>;
156         cap-mmc-highspeed;                        156         cap-mmc-highspeed;
157         cap-sd-highspeed;                         157         cap-sd-highspeed;
158         vmmc-supply = <&vcc_sd>;                  158         vmmc-supply = <&vcc_sd>;
159         status = "okay";                          159         status = "okay";
160 };                                                160 };
161                                                   161 
162 &mmc1 {                                           162 &mmc1 {
163         bus-width = <4>;                          163         bus-width = <4>;
164         non-removable;                            164         non-removable;
165         pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bu    165         pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>;
166         pinctrl-names = "default";                166         pinctrl-names = "default";
167         vmmc-supply = <&vcc_wifi>;                167         vmmc-supply = <&vcc_wifi>;
168         #address-cells = <1>;                     168         #address-cells = <1>;
169         #size-cells = <0>;                        169         #size-cells = <0>;
170         status = "okay";                          170         status = "okay";
171                                                   171 
172         brcmf: wifi@1 {                           172         brcmf: wifi@1 {
173                 compatible = "brcm,bcm4329-fma    173                 compatible = "brcm,bcm4329-fmac";
174                 reg = <1>;                        174                 reg = <1>;
175         };                                        175         };
176 };                                                176 };
177                                                   177 
178 &nfc {                                            178 &nfc {
179         #address-cells = <1>;                     179         #address-cells = <1>;
180         #size-cells = <0>;                        180         #size-cells = <0>;
181         status = "okay";                          181         status = "okay";
182                                                   182 
183         nand@0 {                                  183         nand@0 {
184                 reg = <0>;                        184                 reg = <0>;
185                 label = "rk-nand";                185                 label = "rk-nand";
186                 nand-bus-width = <8>;             186                 nand-bus-width = <8>;
187                 nand-ecc-mode = "hw";             187                 nand-ecc-mode = "hw";
188                 nand-ecc-step-size = <1024>;      188                 nand-ecc-step-size = <1024>;
189                 nand-ecc-strength = <40>;         189                 nand-ecc-strength = <40>;
190                 nand-is-boot-medium;              190                 nand-is-boot-medium;
191                 rockchip,boot-blks = <8>;         191                 rockchip,boot-blks = <8>;
192                 rockchip,boot-ecc-strength = <    192                 rockchip,boot-ecc-strength = <24>;
193         };                                        193         };
194 };                                                194 };
195                                                   195 
196 &pinctrl {                                        196 &pinctrl {
197         usb-host {                                197         usb-host {
198                 host_drv: host-drv {              198                 host_drv: host-drv {
199                         rockchip,pins = <0 RK_    199                         rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_default>;
200                 };                                200                 };
201         };                                        201         };
202                                                   202 
203         usb-otg {                                 203         usb-otg {
204                 otg_drv: otg-drv {                204                 otg_drv: otg-drv {
205                         rockchip,pins = <0 RK_    205                         rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_default>;
206                 };                                206                 };
207         };                                        207         };
208                                                   208 
209         sdmmc {                                   209         sdmmc {
210                 sdmmc_pwr: sdmmc-pwr {            210                 sdmmc_pwr: sdmmc-pwr {
211                         rockchip,pins = <3 RK_    211                         rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_default>;
212                 };                                212                 };
213         };                                        213         };
214                                                   214 
215         sdio {                                    215         sdio {
216                 wifi_pwr: wifi-pwr {              216                 wifi_pwr: wifi-pwr {
217                         rockchip,pins = <3 RK_    217                         rockchip,pins = <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
218                 };                                218                 };
219         };                                        219         };
220 };                                                220 };
221                                                   221 
222 &saradc {                                         222 &saradc {
223         vref-supply = <&vcc_2v5>;                 223         vref-supply = <&vcc_2v5>;
224         status = "okay";                          224         status = "okay";
225 };                                                225 };
226                                                   226 
227 &uart2 {                                          227 &uart2 {
228         status = "okay";                          228         status = "okay";
229 };                                                229 };
230                                                   230 
231 &usb_host {                                       231 &usb_host {
232         status = "okay";                          232         status = "okay";
233 };                                                233 };
234                                                   234 
235 &usb_otg {                                        235 &usb_otg {
236         status = "okay";                          236         status = "okay";
237 };                                                237 };
238                                                   238 
239 &usbphy {                                         239 &usbphy {
240         status = "okay";                          240         status = "okay";
241 };                                                241 };
242                                                   242 
243 &vop0 {                                           243 &vop0 {
244         status = "okay";                          244         status = "okay";
245 };                                                245 };
246                                                   246 
247 &wdt {                                            247 &wdt {
248         status = "okay";                          248         status = "okay";
249 };                                                249 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php