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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/allwinner/sun7i-a20-icnova-a20-adb4006.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 OR MIT)
  2 // Copyright (C) 2023 In-Circuit GmbH
  3 
  4 /dts-v1/;
  5 
  6 #include "sun7i-a20-icnova-a20.dtsi"
  7 
  8 #include <dt-bindings/gpio/gpio.h>
  9 #include <dt-bindings/leds/common.h>
 10 
 11 / {
 12         model = "In-Circuit ICnova A20 ADB4006";
 13         compatible = "incircuit,icnova-a20-adb4006", "incircuit,icnova-a20",
 14                      "allwinner,sun7i-a20";
 15 
 16         aliases {
 17                 serial0 = &uart0;
 18         };
 19 
 20         chosen {
 21                 stdout-path = "serial0:115200n8";
 22         };
 23 
 24         hdmi-connector {
 25                 compatible = "hdmi-connector";
 26                 type = "a";
 27 
 28                 port {
 29                         hdmi_con_in: endpoint {
 30                                 remote-endpoint = <&hdmi_out_con>;
 31                         };
 32                 };
 33         };
 34 
 35         leds {
 36                 compatible = "gpio-leds";
 37 
 38                 led-0 {
 39                         function = LED_FUNCTION_POWER;
 40                         color = <LED_COLOR_ID_YELLOW>;
 41                         gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; /* PH21 */
 42                         default-state = "on";
 43                 };
 44 
 45                 led-1 {
 46                         function = LED_FUNCTION_HEARTBEAT;
 47                         color = <LED_COLOR_ID_RED>;
 48                         gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; /* PH20 */
 49                         linux,default-trigger = "heartbeat";
 50                 };
 51         };
 52 };
 53 
 54 &ahci {
 55         target-supply = <&reg_ahci_5v>;
 56         status = "okay";
 57 };
 58 
 59 &codec {
 60         status = "okay";
 61 };
 62 
 63 &de {
 64         status = "okay";
 65 };
 66 
 67 &ehci0 {
 68         status = "okay";
 69 };
 70 
 71 &ehci1 {
 72         status = "okay";
 73 };
 74 
 75 &hdmi {
 76         status = "okay";
 77 };
 78 
 79 &hdmi_out {
 80         hdmi_out_con: endpoint {
 81                 remote-endpoint = <&hdmi_con_in>;
 82         };
 83 };
 84 
 85 &mmc0 {
 86         vmmc-supply = <&reg_vcc3v3>;
 87         bus-width = <4>;
 88         cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
 89         status = "okay";
 90 };
 91 
 92 &ohci0 {
 93         status = "okay";
 94 };
 95 
 96 &ohci1 {
 97         status = "okay";
 98 };
 99 
100 &otg_sram {
101         status = "okay";
102 };
103 
104 &reg_ahci_5v {
105         status = "okay";
106 };
107 
108 &ac_power_supply {
109         status = "okay";
110 };
111 
112 &reg_usb1_vbus {
113         status = "okay";
114 };
115 
116 &reg_usb2_vbus {
117         status = "okay";
118 };
119 
120 &uart0 {
121         pinctrl-names = "default";
122         pinctrl-0 = <&uart0_pb_pins>;
123         status = "okay";
124 };
125 
126 &usb_otg {
127         dr_mode = "otg";
128         status = "okay";
129 };
130 
131 &usbphy {
132         usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
133         usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
134         usb1_vbus-supply = <&reg_usb1_vbus>;
135         usb2_vbus-supply = <&reg_usb2_vbus>;
136         status = "okay";
137 };

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