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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/riscv/allwinner/sun20i-d1-mangopi-mq-pro.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/riscv/allwinner/sun20i-d1-mangopi-mq-pro.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/riscv/allwinner/sun20i-d1-mangopi-mq-pro.dts (Version linux-6.5.13)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)  !!   1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
  2 // Copyright (C) 2022 Samuel Holland <samuel@sh      2 // Copyright (C) 2022 Samuel Holland <samuel@sholland.org>
  3                                                     3 
  4 #include <dt-bindings/gpio/gpio.h>                  4 #include <dt-bindings/gpio/gpio.h>
  5 #include <dt-bindings/leds/common.h>                5 #include <dt-bindings/leds/common.h>
  6                                                     6 
  7 /dts-v1/;                                           7 /dts-v1/;
  8                                                     8 
  9 #include "sun20i-d1.dtsi"                           9 #include "sun20i-d1.dtsi"
 10 #include "sun20i-common-regulators.dtsi"           10 #include "sun20i-common-regulators.dtsi"
 11                                                    11 
 12 / {                                                12 / {
 13         model = "MangoPi MQ Pro";                  13         model = "MangoPi MQ Pro";
 14         compatible = "widora,mangopi-mq-pro",      14         compatible = "widora,mangopi-mq-pro", "allwinner,sun20i-d1";
 15                                                    15 
 16         aliases {                                  16         aliases {
 17                 ethernet0 = &rtl8723ds;            17                 ethernet0 = &rtl8723ds;
 18                 serial0 = &uart0;                  18                 serial0 = &uart0;
 19         };                                         19         };
 20                                                    20 
 21         chosen {                                   21         chosen {
 22                 stdout-path = "serial0:115200n     22                 stdout-path = "serial0:115200n8";
 23         };                                         23         };
 24                                                    24 
 25         leds {                                     25         leds {
 26                 compatible = "gpio-leds";          26                 compatible = "gpio-leds";
 27                                                    27 
 28                 led-0 {                            28                 led-0 {
 29                         color = <LED_COLOR_ID_     29                         color = <LED_COLOR_ID_BLUE>;
 30                         function = LED_FUNCTIO     30                         function = LED_FUNCTION_STATUS;
 31                         gpios = <&pio 3 18 GPI     31                         gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */
 32                 };                                 32                 };
 33         };                                         33         };
 34                                                    34 
 35         reg_avdd2v8: avdd2v8 {                     35         reg_avdd2v8: avdd2v8 {
 36                 compatible = "regulator-fixed"     36                 compatible = "regulator-fixed";
 37                 regulator-name = "avdd2v8";        37                 regulator-name = "avdd2v8";
 38                 regulator-min-microvolt = <280     38                 regulator-min-microvolt = <2800000>;
 39                 regulator-max-microvolt = <280     39                 regulator-max-microvolt = <2800000>;
 40                 vin-supply = <&reg_vcc_3v3>;       40                 vin-supply = <&reg_vcc_3v3>;
 41         };                                         41         };
 42                                                    42 
 43         reg_dvdd: dvdd {                           43         reg_dvdd: dvdd {
 44                 compatible = "regulator-fixed"     44                 compatible = "regulator-fixed";
 45                 regulator-name = "dvdd";           45                 regulator-name = "dvdd";
 46                 regulator-min-microvolt = <120     46                 regulator-min-microvolt = <1200000>;
 47                 regulator-max-microvolt = <120     47                 regulator-max-microvolt = <1200000>;
 48                 vin-supply = <&reg_vcc_3v3>;       48                 vin-supply = <&reg_vcc_3v3>;
 49         };                                         49         };
 50                                                    50 
 51         reg_vdd_cpu: vdd-cpu {                     51         reg_vdd_cpu: vdd-cpu {
 52                 compatible = "regulator-fixed"     52                 compatible = "regulator-fixed";
 53                 regulator-name = "vdd-cpu";        53                 regulator-name = "vdd-cpu";
 54                 regulator-min-microvolt = <110     54                 regulator-min-microvolt = <1100000>;
 55                 regulator-max-microvolt = <110     55                 regulator-max-microvolt = <1100000>;
 56                 vin-supply = <&reg_vcc>;           56                 vin-supply = <&reg_vcc>;
 57         };                                         57         };
 58                                                    58 
 59         wifi_pwrseq: wifi-pwrseq {                 59         wifi_pwrseq: wifi-pwrseq {
 60                 compatible = "mmc-pwrseq-simpl     60                 compatible = "mmc-pwrseq-simple";
 61                 reset-gpios = <&pio 6 17 GPIO_     61                 reset-gpios = <&pio 6 17 GPIO_ACTIVE_LOW>; /* PG17 */
 62         };                                         62         };
 63 };                                                 63 };
 64                                                    64 
 65 &cpu0 {                                            65 &cpu0 {
 66         cpu-supply = <&reg_vdd_cpu>;               66         cpu-supply = <&reg_vdd_cpu>;
 67 };                                                 67 };
 68                                                    68 
 69 &dcxo {                                            69 &dcxo {
 70         clock-frequency = <24000000>;              70         clock-frequency = <24000000>;
 71 };                                                 71 };
 72                                                    72 
 73 &ehci1 {                                           73 &ehci1 {
 74         status = "okay";                           74         status = "okay";
 75 };                                                 75 };
 76                                                    76 
 77 &mmc0 {                                            77 &mmc0 {
 78         bus-width = <4>;                           78         bus-width = <4>;
 79         cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>     79         cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */
 80         disable-wp;                                80         disable-wp;
 81         vmmc-supply = <&reg_vcc_3v3>;              81         vmmc-supply = <&reg_vcc_3v3>;
 82         vqmmc-supply = <&reg_vcc_3v3>;             82         vqmmc-supply = <&reg_vcc_3v3>;
 83         pinctrl-0 = <&mmc0_pins>;                  83         pinctrl-0 = <&mmc0_pins>;
 84         pinctrl-names = "default";                 84         pinctrl-names = "default";
 85         status = "okay";                           85         status = "okay";
 86 };                                                 86 };
 87                                                    87 
 88 &mmc1 {                                            88 &mmc1 {
 89         bus-width = <4>;                           89         bus-width = <4>;
 90         mmc-pwrseq = <&wifi_pwrseq>;               90         mmc-pwrseq = <&wifi_pwrseq>;
 91         non-removable;                             91         non-removable;
 92         vmmc-supply = <&reg_vcc_3v3>;              92         vmmc-supply = <&reg_vcc_3v3>;
 93         vqmmc-supply = <&reg_vcc_3v3>;             93         vqmmc-supply = <&reg_vcc_3v3>;
 94         pinctrl-0 = <&mmc1_pins>;                  94         pinctrl-0 = <&mmc1_pins>;
 95         pinctrl-names = "default";                 95         pinctrl-names = "default";
 96         status = "okay";                           96         status = "okay";
 97                                                    97 
 98         rtl8723ds: wifi@1 {                        98         rtl8723ds: wifi@1 {
 99                 reg = <1>;                         99                 reg = <1>;
100                 interrupt-parent = <&pio>;        100                 interrupt-parent = <&pio>;
101                 interrupts = <6 10 IRQ_TYPE_LE    101                 interrupts = <6 10 IRQ_TYPE_LEVEL_LOW>; /* PG10 */
102                 interrupt-names = "host-wake";    102                 interrupt-names = "host-wake";
103         };                                        103         };
104 };                                                104 };
105                                                   105 
106 &ohci1 {                                          106 &ohci1 {
107         status = "okay";                          107         status = "okay";
108 };                                                108 };
109                                                   109 
110 &pio {                                            110 &pio {
111         vcc-pe-supply = <&reg_avdd2v8>;           111         vcc-pe-supply = <&reg_avdd2v8>;
112 };                                                112 };
113                                                   113 
114 &uart0 {                                          114 &uart0 {
115         pinctrl-0 = <&uart0_pb8_pins>;            115         pinctrl-0 = <&uart0_pb8_pins>;
116         pinctrl-names = "default";                116         pinctrl-names = "default";
117         status = "okay";                          117         status = "okay";
118 };                                                118 };
119                                                   119 
120 &uart1 {                                          120 &uart1 {
121         uart-has-rtscts;                          121         uart-has-rtscts;
122         pinctrl-0 = <&uart1_pg6_pins>, <&uart1    122         pinctrl-0 = <&uart1_pg6_pins>, <&uart1_pg8_rts_cts_pins>;
123         pinctrl-names = "default";                123         pinctrl-names = "default";
124         status = "okay";                          124         status = "okay";
125                                                   125 
126         bluetooth {                               126         bluetooth {
127                 compatible = "realtek,rtl8723d    127                 compatible = "realtek,rtl8723ds-bt";
128                 device-wake-gpios = <&pio 6 18    128                 device-wake-gpios = <&pio 6 18 GPIO_ACTIVE_HIGH>; /* PG18 */
129                 enable-gpios = <&pio 6 15 GPIO    129                 enable-gpios = <&pio 6 15 GPIO_ACTIVE_HIGH>; /* PG15 */
130                 host-wake-gpios = <&pio 6 14 G    130                 host-wake-gpios = <&pio 6 14 GPIO_ACTIVE_HIGH>; /* PG14 */
131         };                                        131         };
132 };                                                132 };
133                                                   133 
134 &usb_otg {                                        134 &usb_otg {
135         dr_mode = "peripheral";                   135         dr_mode = "peripheral";
136         status = "okay";                          136         status = "okay";
137 };                                                137 };
138                                                   138 
139 &usbphy {                                         139 &usbphy {
140         usb1_vbus-supply = <&reg_vcc>;            140         usb1_vbus-supply = <&reg_vcc>;
141         status = "okay";                          141         status = "okay";
142 };                                                142 };
                                                      

~ [ 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