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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/allwinner/sun50i-h5-nanopi-neo2.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-nanopi-neo2.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/allwinner/sun50i-h5-nanopi-neo2.dts (Version linux-6.6.60)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 // Copyright (C) 2017 Icenowy Zheng <icenowy@ao      2 // Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.io>
  3                                                     3 
  4 /dts-v1/;                                           4 /dts-v1/;
  5 #include "sun50i-h5.dtsi"                           5 #include "sun50i-h5.dtsi"
  6                                                     6 
  7 #include <dt-bindings/gpio/gpio.h>                  7 #include <dt-bindings/gpio/gpio.h>
  8                                                     8 
  9 / {                                                 9 / {
 10         model = "FriendlyARM NanoPi NEO 2";        10         model = "FriendlyARM NanoPi NEO 2";
 11         compatible = "friendlyarm,nanopi-neo2"     11         compatible = "friendlyarm,nanopi-neo2", "allwinner,sun50i-h5";
 12                                                    12 
 13         aliases {                                  13         aliases {
 14                 ethernet0 = &emac;                 14                 ethernet0 = &emac;
 15                 serial0 = &uart0;                  15                 serial0 = &uart0;
 16         };                                         16         };
 17                                                    17 
 18         chosen {                                   18         chosen {
 19                 stdout-path = "serial0:115200n     19                 stdout-path = "serial0:115200n8";
 20         };                                         20         };
 21                                                    21 
 22         leds {                                     22         leds {
 23                 compatible = "gpio-leds";          23                 compatible = "gpio-leds";
 24                                                    24 
 25                 led-0 {                            25                 led-0 {
 26                         label = "nanopi:green:     26                         label = "nanopi:green:pwr";
 27                         gpios = <&r_pio 0 10 G     27                         gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
 28                         default-state = "on";      28                         default-state = "on";
 29                 };                                 29                 };
 30                                                    30 
 31                 led-1 {                            31                 led-1 {
 32                         label = "nanopi:blue:s     32                         label = "nanopi:blue:status";
 33                         gpios = <&pio 0 10 GPI     33                         gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
 34                 };                                 34                 };
 35         };                                         35         };
 36                                                    36 
 37         reg_gmac_3v3: gmac-3v3 {                   37         reg_gmac_3v3: gmac-3v3 {
 38                 compatible = "regulator-fixed"     38                 compatible = "regulator-fixed";
 39                 regulator-name = "gmac-3v3";       39                 regulator-name = "gmac-3v3";
 40                 regulator-min-microvolt = <330     40                 regulator-min-microvolt = <3300000>;
 41                 regulator-max-microvolt = <330     41                 regulator-max-microvolt = <3300000>;
 42                 startup-delay-us = <100000>;       42                 startup-delay-us = <100000>;
 43                 enable-active-high;                43                 enable-active-high;
 44                 gpio = <&pio 3 6 GPIO_ACTIVE_H     44                 gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
 45         };                                         45         };
 46                                                    46 
 47         reg_vcc3v3: vcc3v3 {                       47         reg_vcc3v3: vcc3v3 {
 48                 compatible = "regulator-fixed"     48                 compatible = "regulator-fixed";
 49                 regulator-name = "vcc3v3";         49                 regulator-name = "vcc3v3";
 50                 regulator-min-microvolt = <330     50                 regulator-min-microvolt = <3300000>;
 51                 regulator-max-microvolt = <330     51                 regulator-max-microvolt = <3300000>;
 52         };                                         52         };
 53                                                    53 
 54         reg_usb0_vbus: usb0-vbus {                 54         reg_usb0_vbus: usb0-vbus {
 55                 compatible = "regulator-fixed"     55                 compatible = "regulator-fixed";
 56                 regulator-name = "usb0-vbus";      56                 regulator-name = "usb0-vbus";
 57                 regulator-min-microvolt = <500     57                 regulator-min-microvolt = <5000000>;
 58                 regulator-max-microvolt = <500     58                 regulator-max-microvolt = <5000000>;
 59                 enable-active-high;                59                 enable-active-high;
 60                 gpio = <&r_pio 0 2 GPIO_ACTIVE     60                 gpio = <&r_pio 0 2 GPIO_ACTIVE_HIGH>; /* PL2 */
 61                 status = "okay";                   61                 status = "okay";
 62         };                                         62         };
 63 };                                                 63 };
 64                                                    64 
 65 &ehci0 {                                           65 &ehci0 {
 66         status = "okay";                           66         status = "okay";
 67 };                                                 67 };
 68                                                    68 
 69 &ehci3 {                                           69 &ehci3 {
 70         status = "okay";                           70         status = "okay";
 71 };                                                 71 };
 72                                                    72 
 73 &emac {                                            73 &emac {
 74         pinctrl-names = "default";                 74         pinctrl-names = "default";
 75         pinctrl-0 = <&emac_rgmii_pins>;            75         pinctrl-0 = <&emac_rgmii_pins>;
 76         phy-supply = <&reg_gmac_3v3>;              76         phy-supply = <&reg_gmac_3v3>;
 77         phy-handle = <&ext_rgmii_phy>;             77         phy-handle = <&ext_rgmii_phy>;
 78         phy-mode = "rgmii-id";                     78         phy-mode = "rgmii-id";
 79         status = "okay";                           79         status = "okay";
 80 };                                                 80 };
 81                                                    81 
 82 &external_mdio {                                   82 &external_mdio {
 83         ext_rgmii_phy: ethernet-phy@7 {            83         ext_rgmii_phy: ethernet-phy@7 {
 84                 compatible = "ethernet-phy-iee     84                 compatible = "ethernet-phy-ieee802.3-c22";
 85                 reg = <7>;                         85                 reg = <7>;
 86         };                                         86         };
 87 };                                                 87 };
 88                                                    88 
 89 &mmc0 {                                            89 &mmc0 {
 90         vmmc-supply = <&reg_vcc3v3>;               90         vmmc-supply = <&reg_vcc3v3>;
 91         bus-width = <4>;                           91         bus-width = <4>;
 92         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;     92         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
 93         status = "okay";                           93         status = "okay";
 94 };                                                 94 };
 95                                                    95 
 96 &ohci0 {                                           96 &ohci0 {
 97         status = "okay";                           97         status = "okay";
 98 };                                                 98 };
 99                                                    99 
100 &ohci3 {                                          100 &ohci3 {
101         status = "okay";                          101         status = "okay";
102 };                                                102 };
103                                                   103 
104 &uart0 {                                          104 &uart0 {
105         pinctrl-names = "default";                105         pinctrl-names = "default";
106         pinctrl-0 = <&uart0_pa_pins>;             106         pinctrl-0 = <&uart0_pa_pins>;
107         status = "okay";                          107         status = "okay";
108 };                                                108 };
109                                                   109 
110 &usb_otg {                                        110 &usb_otg {
111         dr_mode = "otg";                          111         dr_mode = "otg";
112         status = "okay";                          112         status = "okay";
113 };                                                113 };
114                                                   114 
115 &usbphy {                                         115 &usbphy {
116         /* USB Type-A port's VBUS is always on    116         /* USB Type-A port's VBUS is always on */
117         usb0_id_det-gpios = <&pio 6 12 GPIO_AC    117         usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
118         usb0_vbus-supply = <&reg_usb0_vbus>;      118         usb0_vbus-supply = <&reg_usb0_vbus>;
119         status = "okay";                          119         status = "okay";
120 };                                                120 };
                                                      

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