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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/allwinner/sun8i-h3-mapleboard-mp130.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Copyright (C) 2017 Centrum Embedded Systems, Jia-Bin Huang <jb@ces.com.tw>
  4  * Copyright (C) 2018 Jonathan McDowell <noodles@earth.li>
  5  */
  6 
  7 /dts-v1/;
  8 #include "sun8i-h3.dtsi"
  9 #include "sunxi-common-regulators.dtsi"
 10 
 11 #include <dt-bindings/gpio/gpio.h>
 12 #include <dt-bindings/input/input.h>
 13 
 14 / {
 15         model = "MapleBoard MP130";
 16         compatible = "mapleboard,mp130", "allwinner,sun8i-h3";
 17 
 18         aliases {
 19                 ethernet0 = &emac;
 20                 serial0 = &uart0;
 21         };
 22 
 23         chosen {
 24                 stdout-path = "serial0:115200n8";
 25         };
 26 
 27         leds {
 28                 compatible = "gpio-leds";
 29 
 30                 pwr_led {
 31                         label = "mp130:orange:pwr";
 32                         gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
 33                         default-state = "on";
 34                 };
 35 
 36                 status_led {
 37                         label = "mp130:orange:status";
 38                         gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
 39                 };
 40         };
 41 
 42         gpio-keys {
 43                 compatible = "gpio-keys";
 44 
 45                 key-power {
 46                         label = "power";
 47                         linux,code = <KEY_POWER>;
 48                         gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; /* PL3 */
 49                 };
 50 
 51                 key-user {
 52                         label = "user";
 53                         linux,code = <BTN_0>;
 54                         gpios = <&r_pio 0 4 GPIO_ACTIVE_LOW>;
 55                 };
 56         };
 57 };
 58 
 59 &codec {
 60         allwinner,audio-routing =
 61                 "Line Out", "LINEOUT",
 62                 "LINEIN", "Line In";
 63         status = "okay";
 64 };
 65 
 66 &ehci1 {
 67         status = "okay";
 68 };
 69 
 70 &ehci2 {
 71         status = "okay";
 72 };
 73 
 74 &ehci3 {
 75         status = "okay";
 76 };
 77 
 78 &emac {
 79         phy-handle = <&int_mii_phy>;
 80         phy-mode = "mii";
 81         allwinner,leds-active-low;
 82         status = "okay";
 83 };
 84 
 85 &ir {
 86         pinctrl-names = "default";
 87         pinctrl-0 = <&r_ir_rx_pin>;
 88         status = "okay";
 89 };
 90 
 91 &mmc0 {
 92         vmmc-supply = <&reg_vcc3v3>;
 93         bus-width = <4>;
 94         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
 95         status = "okay";
 96 };
 97 
 98 &mmc2 {
 99         pinctrl-names = "default";
100         pinctrl-0 = <&mmc2_8bit_pins>;
101         vmmc-supply = <&reg_vcc3v3>;
102         bus-width = <8>;
103         non-removable;
104         cap-mmc-hw-reset;
105         status = "okay";
106 };
107 
108 &ohci1 {
109         status = "okay";
110 };
111 
112 &ohci2 {
113         status = "okay";
114 };
115 
116 &ohci3 {
117         status = "okay";
118 };
119 
120 &uart0 {
121         pinctrl-names = "default";
122         pinctrl-0 = <&uart0_pa_pins>;
123         status = "okay";
124 };
125 
126 &uart1 {
127         pinctrl-names = "default";
128         pinctrl-0 = <&uart1_pins>;
129         status = "disabled";
130 };
131 
132 &uart2 {
133         pinctrl-names = "default";
134         pinctrl-0 = <&uart2_pins>;
135         status = "disabled";
136 };
137 
138 &uart3 {
139         pinctrl-names = "default";
140         pinctrl-0 = <&uart3_pins>;
141         status = "disabled";
142 };
143 
144 &usb_otg {
145         dr_mode = "peripheral";
146         status = "okay";
147 };
148 
149 &usbphy {
150         /* USB VBUS is always on */
151         status = "okay";
152 };

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