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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/riscv/allwinner/sun20i-d1-dongshan-nezha-stu.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-dongshan-nezha-stu.dts (Architecture i386) and /scripts/dtc/include-prefixes/riscv/allwinner/sun20i-d1-dongshan-nezha-stu.dts (Architecture mips)


  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 = "Dongshan Nezha STU";              13         model = "Dongshan Nezha STU";
 14         compatible = "100ask,dongshan-nezha-st     14         compatible = "100ask,dongshan-nezha-stu", "allwinner,sun20i-d1";
 15                                                    15 
 16         aliases {                                  16         aliases {
 17                 ethernet0 = &emac;                 17                 ethernet0 = &emac;
 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_GREEN>;
 30                         function = LED_FUNCTIO     30                         function = LED_FUNCTION_STATUS;
 31                         gpios = <&pio 2 1 GPIO     31                         gpios = <&pio 2 1 GPIO_ACTIVE_HIGH>; /* PC1 */
 32                 };                                 32                 };
 33         };                                         33         };
 34                                                    34 
 35         reg_usbvbus: usbvbus {                     35         reg_usbvbus: usbvbus {
 36                 compatible = "regulator-fixed"     36                 compatible = "regulator-fixed";
 37                 regulator-name = "usbvbus";        37                 regulator-name = "usbvbus";
 38                 regulator-min-microvolt = <500     38                 regulator-min-microvolt = <5000000>;
 39                 regulator-max-microvolt = <500     39                 regulator-max-microvolt = <5000000>;
 40                 gpio = <&pio 3 19 GPIO_ACTIVE_     40                 gpio = <&pio 3 19 GPIO_ACTIVE_HIGH>; /* PD19 */
 41                 enable-active-high;                41                 enable-active-high;
 42                 vin-supply = <&reg_vcc>;           42                 vin-supply = <&reg_vcc>;
 43         };                                         43         };
 44                                                    44 
 45         /*                                         45         /*
 46          * This regulator is PWM-controlled, b     46          * This regulator is PWM-controlled, but the PWM controller is not
 47          * yet supported, so fix the regulator     47          * yet supported, so fix the regulator to its default voltage.
 48          */                                        48          */
 49         reg_vdd_cpu: vdd-cpu {                     49         reg_vdd_cpu: vdd-cpu {
 50                 compatible = "regulator-fixed"     50                 compatible = "regulator-fixed";
 51                 regulator-name = "vdd-cpu";        51                 regulator-name = "vdd-cpu";
 52                 regulator-min-microvolt = <110     52                 regulator-min-microvolt = <1100000>;
 53                 regulator-max-microvolt = <110     53                 regulator-max-microvolt = <1100000>;
 54                 vin-supply = <&reg_vcc>;           54                 vin-supply = <&reg_vcc>;
 55         };                                         55         };
 56 };                                                 56 };
 57                                                    57 
 58 &cpu0 {                                            58 &cpu0 {
 59         cpu-supply = <&reg_vdd_cpu>;               59         cpu-supply = <&reg_vdd_cpu>;
 60 };                                                 60 };
 61                                                    61 
 62 &dcxo {                                            62 &dcxo {
 63         clock-frequency = <24000000>;              63         clock-frequency = <24000000>;
 64 };                                                 64 };
 65                                                    65 
 66 &ehci0 {                                           66 &ehci0 {
 67         status = "okay";                           67         status = "okay";
 68 };                                                 68 };
 69                                                    69 
 70 &emac {                                            70 &emac {
 71         pinctrl-0 = <&rgmii_pe_pins>;              71         pinctrl-0 = <&rgmii_pe_pins>;
 72         pinctrl-names = "default";                 72         pinctrl-names = "default";
 73         phy-handle = <&ext_rgmii_phy>;             73         phy-handle = <&ext_rgmii_phy>;
 74         phy-mode = "rgmii-id";                     74         phy-mode = "rgmii-id";
 75         phy-supply = <&reg_vcc_3v3>;               75         phy-supply = <&reg_vcc_3v3>;
 76         status = "okay";                           76         status = "okay";
 77 };                                                 77 };
 78                                                    78 
 79 &mdio {                                            79 &mdio {
 80         ext_rgmii_phy: ethernet-phy@1 {            80         ext_rgmii_phy: ethernet-phy@1 {
 81                 compatible = "ethernet-phy-iee     81                 compatible = "ethernet-phy-ieee802.3-c22";
 82                 reg = <1>;                         82                 reg = <1>;
 83         };                                         83         };
 84 };                                                 84 };
 85                                                    85 
 86 &mmc0 {                                            86 &mmc0 {
 87         broken-cd;                                 87         broken-cd;
 88         bus-width = <4>;                           88         bus-width = <4>;
 89         disable-wp;                                89         disable-wp;
 90         vmmc-supply = <&reg_vcc_3v3>;              90         vmmc-supply = <&reg_vcc_3v3>;
 91         vqmmc-supply = <&reg_vcc_3v3>;             91         vqmmc-supply = <&reg_vcc_3v3>;
 92         pinctrl-0 = <&mmc0_pins>;                  92         pinctrl-0 = <&mmc0_pins>;
 93         pinctrl-names = "default";                 93         pinctrl-names = "default";
 94         status = "okay";                           94         status = "okay";
 95 };                                                 95 };
 96                                                    96 
 97 &ohci0 {                                           97 &ohci0 {
 98         status = "okay";                           98         status = "okay";
 99 };                                                 99 };
100                                                   100 
101 &uart0 {                                          101 &uart0 {
102         pinctrl-0 = <&uart0_pb8_pins>;            102         pinctrl-0 = <&uart0_pb8_pins>;
103         pinctrl-names = "default";                103         pinctrl-names = "default";
104         status = "okay";                          104         status = "okay";
105 };                                                105 };
106                                                   106 
107 &usb_otg {                                        107 &usb_otg {
108         dr_mode = "otg";                          108         dr_mode = "otg";
109         status = "okay";                          109         status = "okay";
110 };                                                110 };
111                                                   111 
112 &usbphy {                                         112 &usbphy {
113         usb0_id_det-gpios = <&pio 3 21 GPIO_AC    113         usb0_id_det-gpios = <&pio 3 21 GPIO_ACTIVE_HIGH>; /* PD21 */
114         usb0_vbus_det-gpios = <&pio 3 20 GPIO_    114         usb0_vbus_det-gpios = <&pio 3 20 GPIO_ACTIVE_HIGH>; /* PD20 */
115         usb0_vbus-supply = <&reg_usbvbus>;        115         usb0_vbus-supply = <&reg_usbvbus>;
116         status = "okay";                          116         status = "okay";
117 };                                                117 };
                                                      

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