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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/allwinner/sun50i-h5-orangepi-zero-plus.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/arm64/allwinner/sun50i-h5-orangepi-zero-plus.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm64/allwinner/sun50i-h5-orangepi-zero-plus.dts (Architecture sparc)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 // Copyright (C) 2016 ARM Ltd.                      2 // Copyright (C) 2016 ARM Ltd.
  3 // Copyright (C) 2018 Hauke Mehrtens <hauke@hau      3 // Copyright (C) 2018 Hauke Mehrtens <hauke@hauke-m.de>
  4                                                     4 
  5 /dts-v1/;                                           5 /dts-v1/;
  6 #include "sun50i-h5.dtsi"                           6 #include "sun50i-h5.dtsi"
  7                                                     7 
  8 #include <dt-bindings/gpio/gpio.h>                  8 #include <dt-bindings/gpio/gpio.h>
  9 #include <dt-bindings/input/input.h>                9 #include <dt-bindings/input/input.h>
 10 #include <dt-bindings/pinctrl/sun4i-a10.h>         10 #include <dt-bindings/pinctrl/sun4i-a10.h>
 11                                                    11 
 12 / {                                                12 / {
 13         model = "Xunlong Orange Pi Zero Plus";     13         model = "Xunlong Orange Pi Zero Plus";
 14         compatible = "xunlong,orangepi-zero-pl     14         compatible = "xunlong,orangepi-zero-plus", "allwinner,sun50i-h5";
 15                                                    15 
 16         reg_vcc3v3: vcc3v3 {                       16         reg_vcc3v3: vcc3v3 {
 17                 compatible = "regulator-fixed"     17                 compatible = "regulator-fixed";
 18                 regulator-name = "vcc3v3";         18                 regulator-name = "vcc3v3";
 19                 regulator-min-microvolt = <330     19                 regulator-min-microvolt = <3300000>;
 20                 regulator-max-microvolt = <330     20                 regulator-max-microvolt = <3300000>;
 21         };                                         21         };
 22                                                    22 
 23         aliases {                                  23         aliases {
 24                 ethernet0 = &emac;                 24                 ethernet0 = &emac;
 25                 ethernet1 = &rtl8189ftv;           25                 ethernet1 = &rtl8189ftv;
 26                 serial0 = &uart0;                  26                 serial0 = &uart0;
 27         };                                         27         };
 28                                                    28 
 29         chosen {                                   29         chosen {
 30                 stdout-path = "serial0:115200n     30                 stdout-path = "serial0:115200n8";
 31         };                                         31         };
 32                                                    32 
 33         leds {                                     33         leds {
 34                 compatible = "gpio-leds";          34                 compatible = "gpio-leds";
 35                                                    35 
 36                 led-0 {                            36                 led-0 {
 37                         label = "orangepi:gree     37                         label = "orangepi:green:pwr";
 38                         gpios = <&r_pio 0 10 G     38                         gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PA10 */
 39                         default-state = "on";      39                         default-state = "on";
 40                 };                                 40                 };
 41                                                    41 
 42                 led-1 {                            42                 led-1 {
 43                         label = "orangepi:red:     43                         label = "orangepi:red:status";
 44                         gpios = <&pio 0 17 GPI     44                         gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>; /* PA17 */
 45                 };                                 45                 };
 46         };                                         46         };
 47                                                    47 
 48         reg_gmac_3v3: gmac-3v3 {                   48         reg_gmac_3v3: gmac-3v3 {
 49                 compatible = "regulator-fixed"     49                 compatible = "regulator-fixed";
 50                 regulator-name = "gmac-3v3";       50                 regulator-name = "gmac-3v3";
 51                 regulator-min-microvolt = <330     51                 regulator-min-microvolt = <3300000>;
 52                 regulator-max-microvolt = <330     52                 regulator-max-microvolt = <3300000>;
 53                 startup-delay-us = <100000>;       53                 startup-delay-us = <100000>;
 54                 enable-active-high;                54                 enable-active-high;
 55                 gpio = <&pio 3 6 GPIO_ACTIVE_H     55                 gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */
 56         };                                         56         };
 57 };                                                 57 };
 58                                                    58 
 59 &ehci0 {                                           59 &ehci0 {
 60         status = "okay";                           60         status = "okay";
 61 };                                                 61 };
 62                                                    62 
 63 &ehci1 {                                           63 &ehci1 {
 64         status = "okay";                           64         status = "okay";
 65 };                                                 65 };
 66                                                    66 
 67 &emac {                                            67 &emac {
 68         pinctrl-names = "default";                 68         pinctrl-names = "default";
 69         pinctrl-0 = <&emac_rgmii_pins>;            69         pinctrl-0 = <&emac_rgmii_pins>;
 70         phy-supply = <&reg_gmac_3v3>;              70         phy-supply = <&reg_gmac_3v3>;
 71         phy-handle = <&ext_rgmii_phy>;             71         phy-handle = <&ext_rgmii_phy>;
 72         phy-mode = "rgmii-id";                     72         phy-mode = "rgmii-id";
 73         status = "okay";                           73         status = "okay";
 74 };                                                 74 };
 75                                                    75 
 76 &external_mdio {                                   76 &external_mdio {
 77         ext_rgmii_phy: ethernet-phy@1 {            77         ext_rgmii_phy: ethernet-phy@1 {
 78                 compatible = "ethernet-phy-iee     78                 compatible = "ethernet-phy-ieee802.3-c22";
 79                 reg = <1>;                         79                 reg = <1>;
 80         };                                         80         };
 81 };                                                 81 };
 82                                                    82 
 83 &mmc0 {                                            83 &mmc0 {
 84         vmmc-supply = <&reg_vcc3v3>;               84         vmmc-supply = <&reg_vcc3v3>;
 85         bus-width = <4>;                           85         bus-width = <4>;
 86         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;     86         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
 87         status = "okay";                           87         status = "okay";
 88 };                                                 88 };
 89                                                    89 
 90 &mmc1 {                                            90 &mmc1 {
 91         vmmc-supply = <&reg_vcc3v3>;               91         vmmc-supply = <&reg_vcc3v3>;
 92         bus-width = <4>;                           92         bus-width = <4>;
 93         non-removable;                             93         non-removable;
 94         status = "okay";                           94         status = "okay";
 95                                                    95 
 96         /*                                         96         /*
 97          * Explicitly define the sdio device,      97          * Explicitly define the sdio device, so that we can add an ethernet
 98          * alias for it (which e.g. makes u-bo     98          * alias for it (which e.g. makes u-boot set a mac-address).
 99          */                                        99          */
100         rtl8189ftv: wifi@1 {                      100         rtl8189ftv: wifi@1 {
101                 reg = <1>;                        101                 reg = <1>;
102         };                                        102         };
103 };                                                103 };
104                                                   104 
105 &spi0  {                                          105 &spi0  {
106         status = "okay";                          106         status = "okay";
107                                                   107 
108         flash@0 {                                 108         flash@0 {
109                 #address-cells = <1>;             109                 #address-cells = <1>;
110                 #size-cells = <1>;                110                 #size-cells = <1>;
111                 compatible = "mxicy,mx25l1606e    111                 compatible = "mxicy,mx25l1606e", "winbond,w25q128";
112                 reg = <0>;                        112                 reg = <0>;
113                 spi-max-frequency = <40000000>    113                 spi-max-frequency = <40000000>;
114         };                                        114         };
115 };                                                115 };
116                                                   116 
117 &ohci0 {                                          117 &ohci0 {
118         status = "okay";                          118         status = "okay";
119 };                                                119 };
120                                                   120 
121 &ohci1 {                                          121 &ohci1 {
122         status = "okay";                          122         status = "okay";
123 };                                                123 };
124                                                   124 
125 &uart0 {                                          125 &uart0 {
126         pinctrl-names = "default";                126         pinctrl-names = "default";
127         pinctrl-0 = <&uart0_pa_pins>;             127         pinctrl-0 = <&uart0_pa_pins>;
128         status = "okay";                          128         status = "okay";
129 };                                                129 };
130                                                   130 
131 &usb_otg {                                        131 &usb_otg {
132         dr_mode = "peripheral";                   132         dr_mode = "peripheral";
133         status = "okay";                          133         status = "okay";
134 };                                                134 };
135                                                   135 
136 &usbphy {                                         136 &usbphy {
137         /* USB Type-A ports' VBUS is always on    137         /* USB Type-A ports' VBUS is always on */
138         usb0_id_det-gpios = <&pio 6 12 GPIO_AC    138         usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
139         status = "okay";                          139         status = "okay";
140 };                                                140 };
                                                      

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