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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/allwinner/sunxi-d1s-t113-mangopi-mq-r.dtsi

Version: ~ [ linux-6.13-rc5 ] ~ [ linux-6.12.7 ] ~ [ linux-6.11.11 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.68 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.122 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.175 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.232 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.288 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.325 ] ~ [ 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/allwinner/sunxi-d1s-t113-mangopi-mq-r.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/allwinner/sunxi-d1s-t113-mangopi-mq-r.dtsi (Architecture ppc)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 // Copyright (C) 2022 Arm Ltd.                      2 // Copyright (C) 2022 Arm Ltd.
  3 /*                                                  3 /*
  4  * Common peripherals and configurations for M      4  * Common peripherals and configurations for MangoPi MQ-R boards.
  5  */                                                 5  */
  6                                                     6 
  7 #include <dt-bindings/gpio/gpio.h>                  7 #include <dt-bindings/gpio/gpio.h>
  8 #include <dt-bindings/leds/common.h>                8 #include <dt-bindings/leds/common.h>
  9                                                     9 
 10 / {                                                10 / {
 11         aliases {                                  11         aliases {
 12                 serial3 = &uart3;                  12                 serial3 = &uart3;
 13         };                                         13         };
 14                                                    14 
 15         chosen {                                   15         chosen {
 16                 stdout-path = "serial3:115200n     16                 stdout-path = "serial3:115200n8";
 17         };                                         17         };
 18                                                    18 
 19         leds {                                     19         leds {
 20                 compatible = "gpio-leds";          20                 compatible = "gpio-leds";
 21                                                    21 
 22                 led-0 {                            22                 led-0 {
 23                         color = <LED_COLOR_ID_     23                         color = <LED_COLOR_ID_BLUE>;
 24                         function = LED_FUNCTIO     24                         function = LED_FUNCTION_STATUS;
 25                         gpios = <&pio 3 22 GPI     25                         gpios = <&pio 3 22 GPIO_ACTIVE_LOW>; /* PD22 */
 26                 };                                 26                 };
 27         };                                         27         };
 28                                                    28 
 29         /* board wide 5V supply directly from      29         /* board wide 5V supply directly from the USB-C socket */
 30         reg_vcc5v: regulator-5v {                  30         reg_vcc5v: regulator-5v {
 31                 compatible = "regulator-fixed"     31                 compatible = "regulator-fixed";
 32                 regulator-name = "vcc-5v";         32                 regulator-name = "vcc-5v";
 33                 regulator-min-microvolt = <500     33                 regulator-min-microvolt = <5000000>;
 34                 regulator-max-microvolt = <500     34                 regulator-max-microvolt = <5000000>;
 35                 regulator-always-on;               35                 regulator-always-on;
 36         };                                         36         };
 37                                                    37 
 38         /* SY8008 DC/DC regulator on the board     38         /* SY8008 DC/DC regulator on the board */
 39         reg_3v3: regulator-3v3 {                   39         reg_3v3: regulator-3v3 {
 40                 compatible = "regulator-fixed"     40                 compatible = "regulator-fixed";
 41                 regulator-name = "vcc-3v3";        41                 regulator-name = "vcc-3v3";
 42                 regulator-min-microvolt = <330     42                 regulator-min-microvolt = <3300000>;
 43                 regulator-max-microvolt = <330     43                 regulator-max-microvolt = <3300000>;
 44                 vin-supply = <&reg_vcc5v>;         44                 vin-supply = <&reg_vcc5v>;
 45         };                                         45         };
 46                                                    46 
 47         /* SY8008 DC/DC regulator on the board     47         /* SY8008 DC/DC regulator on the board, also supplying VDD-SYS */
 48         reg_vcc_core: regulator-core {             48         reg_vcc_core: regulator-core {
 49                 compatible = "regulator-fixed"     49                 compatible = "regulator-fixed";
 50                 regulator-name = "vcc-core";       50                 regulator-name = "vcc-core";
 51                 regulator-min-microvolt = <880     51                 regulator-min-microvolt = <880000>;
 52                 regulator-max-microvolt = <880     52                 regulator-max-microvolt = <880000>;
 53                 vin-supply = <&reg_vcc5v>;         53                 vin-supply = <&reg_vcc5v>;
 54         };                                         54         };
 55                                                    55 
 56         /* XC6206 LDO on the board */              56         /* XC6206 LDO on the board */
 57         reg_avdd2v8: regulator-avdd {              57         reg_avdd2v8: regulator-avdd {
 58                 compatible = "regulator-fixed"     58                 compatible = "regulator-fixed";
 59                 regulator-name = "avdd2v8";        59                 regulator-name = "avdd2v8";
 60                 regulator-min-microvolt = <280     60                 regulator-min-microvolt = <2800000>;
 61                 regulator-max-microvolt = <280     61                 regulator-max-microvolt = <2800000>;
 62                 vin-supply = <&reg_3v3>;           62                 vin-supply = <&reg_3v3>;
 63         };                                         63         };
 64                                                    64 
 65         wifi_pwrseq: wifi-pwrseq {                 65         wifi_pwrseq: wifi-pwrseq {
 66                 compatible = "mmc-pwrseq-simpl     66                 compatible = "mmc-pwrseq-simple";
 67                 reset-gpios = <&pio 6 12 GPIO_     67                 reset-gpios = <&pio 6 12 GPIO_ACTIVE_LOW>; /* PG12 */
 68         };                                         68         };
 69 };                                                 69 };
 70                                                    70 
 71 &dcxo {                                            71 &dcxo {
 72         clock-frequency = <24000000>;              72         clock-frequency = <24000000>;
 73 };                                                 73 };
 74                                                    74 
 75 &ehci1 {                                           75 &ehci1 {
 76         status = "okay";                           76         status = "okay";
 77 };                                                 77 };
 78                                                    78 
 79 &mmc0 {                                            79 &mmc0 {
 80         pinctrl-0 = <&mmc0_pins>;                  80         pinctrl-0 = <&mmc0_pins>;
 81         pinctrl-names = "default";                 81         pinctrl-names = "default";
 82         vmmc-supply = <&reg_3v3>;                  82         vmmc-supply = <&reg_3v3>;
 83         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;     83         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
 84         disable-wp;                                84         disable-wp;
 85         bus-width = <4>;                           85         bus-width = <4>;
 86         status = "okay";                           86         status = "okay";
 87 };                                                 87 };
 88                                                    88 
 89 &mmc1 {                                            89 &mmc1 {
 90         pinctrl-0 = <&mmc1_pins>;                  90         pinctrl-0 = <&mmc1_pins>;
 91         pinctrl-names = "default";                 91         pinctrl-names = "default";
 92         vmmc-supply = <&reg_3v3>;                  92         vmmc-supply = <&reg_3v3>;
 93         non-removable;                             93         non-removable;
 94         bus-width = <4>;                           94         bus-width = <4>;
 95         mmc-pwrseq = <&wifi_pwrseq>;               95         mmc-pwrseq = <&wifi_pwrseq>;
 96         status = "okay";                           96         status = "okay";
 97 };                                                 97 };
 98                                                    98 
 99 &ohci1 {                                           99 &ohci1 {
100         status = "okay";                          100         status = "okay";
101 };                                                101 };
102                                                   102 
103 &pio {                                            103 &pio {
104         vcc-pb-supply = <&reg_3v3>;               104         vcc-pb-supply = <&reg_3v3>;
105         vcc-pd-supply = <&reg_3v3>;               105         vcc-pd-supply = <&reg_3v3>;
106         vcc-pe-supply = <&reg_avdd2v8>;           106         vcc-pe-supply = <&reg_avdd2v8>;
107         vcc-pf-supply = <&reg_3v3>;               107         vcc-pf-supply = <&reg_3v3>;
108         vcc-pg-supply = <&reg_3v3>;               108         vcc-pg-supply = <&reg_3v3>;
109 };                                                109 };
110                                                   110 
111 &uart3 {                                          111 &uart3 {
112         pinctrl-names = "default";                112         pinctrl-names = "default";
113         pinctrl-0 = <&uart3_pb_pins>;             113         pinctrl-0 = <&uart3_pb_pins>;
114         status = "okay";                          114         status = "okay";
115 };                                                115 };
116                                                   116 
117 /* The USB-C socket has its CC pins pulled to     117 /* The USB-C socket has its CC pins pulled to GND, so is hardwired as a UFP. */
118 &usb_otg {                                        118 &usb_otg {
119         dr_mode = "peripheral";                   119         dr_mode = "peripheral";
120         status = "okay";                          120         status = "okay";
121 };                                                121 };
122                                                   122 
123 &usbphy {                                         123 &usbphy {
124         usb1_vbus-supply = <&reg_vcc5v>;          124         usb1_vbus-supply = <&reg_vcc5v>;
125         status = "okay";                          125         status = "okay";
126 };                                                126 };
                                                      

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