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-adb 14 "allwinner,sun7i-a20"; 15 16 aliases { 17 serial0 = &uart0; 18 }; 19 20 chosen { 21 stdout-path = "serial0:115200n 22 }; 23 24 hdmi-connector { 25 compatible = "hdmi-connector"; 26 type = "a"; 27 28 port { 29 hdmi_con_in: endpoint 30 remote-endpoin 31 }; 32 }; 33 }; 34 35 leds { 36 compatible = "gpio-leds"; 37 38 led-0 { 39 function = LED_FUNCTIO 40 color = <LED_COLOR_ID_ 41 gpios = <&pio 7 21 GPI 42 default-state = "on"; 43 }; 44 45 led-1 { 46 function = LED_FUNCTIO 47 color = <LED_COLOR_ID_ 48 gpios = <&pio 7 20 GPI 49 linux,default-trigger 50 }; 51 }; 52 }; 53 54 &ahci { 55 target-supply = <®_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_i 82 }; 83 }; 84 85 &mmc0 { 86 vmmc-supply = <®_vcc3v3>; 87 bus-width = <4>; 88 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; 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 ®_ahci_5v { 105 status = "okay"; 106 }; 107 108 &ac_power_supply { 109 status = "okay"; 110 }; 111 112 ®_usb1_vbus { 113 status = "okay"; 114 }; 115 116 ®_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_ACT 133 usb0_vbus_det-gpios = <&pio 7 5 GPIO_A 134 usb1_vbus-supply = <®_usb1_vbus>; 135 usb2_vbus-supply = <®_usb2_vbus>; 136 status = "okay"; 137 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.