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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/allwinner/sun8i-v3-sl631.dtsi

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/arm/allwinner/sun8i-v3-sl631.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/allwinner/sun8i-v3-sl631.dtsi (Architecture ppc)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR X11)       1 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
  2 /*                                                  2 /*
  3  * Copyright 2020 Paul Kocialkowski <contact@pa      3  * Copyright 2020 Paul Kocialkowski <contact@paulk.fr>
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7                                                     7 
  8 #include "sun8i-v3.dtsi"                            8 #include "sun8i-v3.dtsi"
  9                                                     9 
 10 #include <dt-bindings/gpio/gpio.h>                 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/input.h>               11 #include <dt-bindings/input/input.h>
 12                                                    12 
 13 / {                                                13 / {
 14         model = "SL631 Action Camera";             14         model = "SL631 Action Camera";
 15         compatible = "allwinner,sl631", "allwi     15         compatible = "allwinner,sl631", "allwinner,sun8i-v3";
 16                                                    16 
 17         aliases {                                  17         aliases {
 18                 serial0 = &uart1;                  18                 serial0 = &uart1;
 19         };                                         19         };
 20                                                    20 
 21         chosen {                                   21         chosen {
 22                 stdout-path = "serial0:115200n     22                 stdout-path = "serial0:115200n8";
 23         };                                         23         };
 24 };                                                 24 };
 25                                                    25 
 26 &i2c0 {                                            26 &i2c0 {
 27         status = "okay";                           27         status = "okay";
 28                                                    28 
 29         axp209: pmic@34 {                          29         axp209: pmic@34 {
 30                 reg = <0x34>;                      30                 reg = <0x34>;
 31                 interrupt-parent = <&nmi_intc>     31                 interrupt-parent = <&nmi_intc>;
 32                 interrupts = <0 IRQ_TYPE_LEVEL     32                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
 33         };                                         33         };
 34 };                                                 34 };
 35                                                    35 
 36 &i2c1 {                                            36 &i2c1 {
 37         pinctrl-names = "default";                 37         pinctrl-names = "default";
 38         pinctrl-0 = <&i2c1_pb_pins>;               38         pinctrl-0 = <&i2c1_pb_pins>;
 39         status = "okay";                           39         status = "okay";
 40 };                                                 40 };
 41                                                    41 
 42 &lradc {                                           42 &lradc {
 43         vref-supply = <&reg_ldo2>;                 43         vref-supply = <&reg_ldo2>;
 44         status = "okay";                           44         status = "okay";
 45                                                    45 
 46         button-174 {                               46         button-174 {
 47                 label = "Down";                    47                 label = "Down";
 48                 linux,code = <KEY_DOWN>;           48                 linux,code = <KEY_DOWN>;
 49                 channel = <0>;                     49                 channel = <0>;
 50                 voltage = <174603>;                50                 voltage = <174603>;
 51         };                                         51         };
 52                                                    52 
 53         button-384 {                               53         button-384 {
 54                 label = "Up";                      54                 label = "Up";
 55                 linux,code = <KEY_UP>;             55                 linux,code = <KEY_UP>;
 56                 channel = <0>;                     56                 channel = <0>;
 57                 voltage = <384126>;                57                 voltage = <384126>;
 58         };                                         58         };
 59                                                    59 
 60         button-593 {                               60         button-593 {
 61                 label = "OK";                      61                 label = "OK";
 62                 linux,code = <KEY_OK>;             62                 linux,code = <KEY_OK>;
 63                 channel = <0>;                     63                 channel = <0>;
 64                 voltage = <593650>;                64                 voltage = <593650>;
 65         };                                         65         };
 66 };                                                 66 };
 67                                                    67 
 68 &mmc0 {                                            68 &mmc0 {
 69         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;     69         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
 70         bus-width = <4>;                           70         bus-width = <4>;
 71         vmmc-supply = <&reg_dcdc3>;                71         vmmc-supply = <&reg_dcdc3>;
 72         status = "okay";                           72         status = "okay";
 73 };                                                 73 };
 74                                                    74 
 75 &pio {                                             75 &pio {
 76         vcc-pd-supply = <&reg_dcdc3>;              76         vcc-pd-supply = <&reg_dcdc3>;
 77         vcc-pe-supply = <&reg_dcdc3>;              77         vcc-pe-supply = <&reg_dcdc3>;
 78 };                                                 78 };
 79                                                    79 
 80 #include "axp209.dtsi"                             80 #include "axp209.dtsi"
 81                                                    81 
 82 &ac_power_supply {                                 82 &ac_power_supply {
 83         status = "okay";                           83         status = "okay";
 84 };                                                 84 };
 85                                                    85 
 86 &battery_power_supply {                            86 &battery_power_supply {
 87         status = "okay";                           87         status = "okay";
 88 };                                                 88 };
 89                                                    89 
 90 &reg_dcdc2 {                                       90 &reg_dcdc2 {
 91         regulator-always-on;                       91         regulator-always-on;
 92         regulator-min-microvolt = <1250000>;       92         regulator-min-microvolt = <1250000>;
 93         regulator-max-microvolt = <1250000>;       93         regulator-max-microvolt = <1250000>;
 94         regulator-name = "vdd-sys-cpu";            94         regulator-name = "vdd-sys-cpu";
 95 };                                                 95 };
 96                                                    96 
 97 &reg_dcdc3 {                                       97 &reg_dcdc3 {
 98         regulator-always-on;                       98         regulator-always-on;
 99         regulator-min-microvolt = <3300000>;       99         regulator-min-microvolt = <3300000>;
100         regulator-max-microvolt = <3300000>;      100         regulator-max-microvolt = <3300000>;
101         regulator-name = "vdd-3v3";               101         regulator-name = "vdd-3v3";
102 };                                                102 };
103                                                   103 
104 &reg_ldo1 {                                       104 &reg_ldo1 {
105         regulator-name = "vdd-rtc";               105         regulator-name = "vdd-rtc";
106 };                                                106 };
107                                                   107 
108 &reg_ldo2 {                                       108 &reg_ldo2 {
109         regulator-always-on;                      109         regulator-always-on;
110         regulator-min-microvolt = <3000000>;      110         regulator-min-microvolt = <3000000>;
111         regulator-max-microvolt = <3000000>;      111         regulator-max-microvolt = <3000000>;
112         regulator-name = "avcc";                  112         regulator-name = "avcc";
113 };                                                113 };
114                                                   114 
115 &spi0 {                                           115 &spi0 {
116         status = "okay";                          116         status = "okay";
117                                                   117 
118         flash@0 {                                 118         flash@0 {
119                 reg = <0>;                        119                 reg = <0>;
120                 compatible = "jedec,spi-nor";     120                 compatible = "jedec,spi-nor";
121                 spi-max-frequency = <50000000>    121                 spi-max-frequency = <50000000>;
122         };                                        122         };
123 };                                                123 };
124                                                   124 
125 &uart1 {                                          125 &uart1 {
126         pinctrl-0 = <&uart1_pg_pins>;             126         pinctrl-0 = <&uart1_pg_pins>;
127         pinctrl-names = "default";                127         pinctrl-names = "default";
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         status = "okay";                          137         status = "okay";
138 };                                                138 };
                                                      

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