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