1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (C) 2023 Arm Ltd. 3 * Copyright (C) 2023 Arm Ltd. 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "sun50i-h616.dtsi" 8 #include "sun50i-h616.dtsi" 9 #include "sun50i-h616-cpu-opp.dtsi" << 10 9 11 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/arm 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 12 14 / { 13 / { 15 model = "Transpeed 8K618-T"; 14 model = "Transpeed 8K618-T"; 16 compatible = "transpeed,8k618-t", "all 15 compatible = "transpeed,8k618-t", "allwinner,sun50i-h618"; 17 16 18 aliases { 17 aliases { 19 ethernet1 = &sdio_wifi; << 20 serial0 = &uart0; 18 serial0 = &uart0; 21 }; 19 }; 22 20 23 chosen { 21 chosen { 24 stdout-path = "serial0:115200n 22 stdout-path = "serial0:115200n8"; 25 }; 23 }; 26 24 27 reg_vcc5v: vcc5v { 25 reg_vcc5v: vcc5v { 28 /* board wide 5V supply direct 26 /* board wide 5V supply directly from the DC input */ 29 compatible = "regulator-fixed" 27 compatible = "regulator-fixed"; 30 regulator-name = "vcc-5v"; 28 regulator-name = "vcc-5v"; 31 regulator-min-microvolt = <500 29 regulator-min-microvolt = <5000000>; 32 regulator-max-microvolt = <500 30 regulator-max-microvolt = <5000000>; 33 regulator-always-on; 31 regulator-always-on; 34 }; 32 }; 35 33 36 reg_vcc3v3: vcc3v3 { 34 reg_vcc3v3: vcc3v3 { 37 /* discrete 3.3V regulator */ 35 /* discrete 3.3V regulator */ 38 compatible = "regulator-fixed" 36 compatible = "regulator-fixed"; 39 regulator-name = "vcc-3v3"; 37 regulator-name = "vcc-3v3"; 40 regulator-min-microvolt = <330 38 regulator-min-microvolt = <3300000>; 41 regulator-max-microvolt = <330 39 regulator-max-microvolt = <3300000>; 42 regulator-always-on; 40 regulator-always-on; 43 }; 41 }; 44 << 45 wifi_pwrseq: pwrseq { << 46 compatible = "mmc-pwrseq-simpl << 47 clocks = <&rtc CLK_OSC32K_FANO << 48 clock-names = "ext_clock"; << 49 pinctrl-0 = <&x32clk_fanout_pi << 50 pinctrl-names = "default"; << 51 reset-gpios = <&pio 6 18 GPIO_ << 52 }; << 53 }; << 54 << 55 &cpu0 { << 56 cpu-supply = <®_dcdc2>; << 57 }; 42 }; 58 43 59 &ehci0 { 44 &ehci0 { 60 status = "okay"; 45 status = "okay"; 61 }; 46 }; 62 47 63 &ehci1 { 48 &ehci1 { 64 status = "okay"; 49 status = "okay"; 65 }; 50 }; 66 51 67 &ir { 52 &ir { 68 status = "okay"; 53 status = "okay"; 69 }; 54 }; 70 55 71 &mmc0 { 56 &mmc0 { 72 vmmc-supply = <®_dldo1>; 57 vmmc-supply = <®_dldo1>; 73 cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW> 58 cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>; /* PI16 */ 74 bus-width = <4>; 59 bus-width = <4>; 75 status = "okay"; 60 status = "okay"; 76 }; << 77 << 78 &mmc1 { << 79 vmmc-supply = <®_dldo1>; << 80 vqmmc-supply = <®_aldo1>; << 81 mmc-pwrseq = <&wifi_pwrseq>; << 82 bus-width = <4>; << 83 non-removable; << 84 status = "okay"; << 85 << 86 sdio_wifi: wifi@1 { << 87 reg = <1>; << 88 }; << 89 }; 61 }; 90 62 91 &mmc2 { 63 &mmc2 { 92 vmmc-supply = <®_dldo1>; 64 vmmc-supply = <®_dldo1>; 93 vqmmc-supply = <®_aldo1>; 65 vqmmc-supply = <®_aldo1>; 94 bus-width = <8>; 66 bus-width = <8>; 95 non-removable; 67 non-removable; 96 cap-mmc-hw-reset; 68 cap-mmc-hw-reset; 97 mmc-ddr-1_8v; 69 mmc-ddr-1_8v; 98 mmc-hs200-1_8v; 70 mmc-hs200-1_8v; 99 status = "okay"; 71 status = "okay"; 100 }; 72 }; 101 73 102 &ohci0 { 74 &ohci0 { 103 status = "okay"; 75 status = "okay"; 104 }; 76 }; 105 77 106 &ohci1 { 78 &ohci1 { 107 status = "okay"; 79 status = "okay"; 108 }; 80 }; 109 81 110 &r_i2c { 82 &r_i2c { 111 status = "okay"; 83 status = "okay"; 112 84 113 axp313: pmic@36 { 85 axp313: pmic@36 { 114 compatible = "x-powers,axp313a 86 compatible = "x-powers,axp313a"; 115 reg = <0x36>; 87 reg = <0x36>; 116 #interrupt-cells = <1>; 88 #interrupt-cells = <1>; 117 interrupt-controller; 89 interrupt-controller; 118 90 119 vin1-supply = <®_vcc5v>; 91 vin1-supply = <®_vcc5v>; 120 vin2-supply = <®_vcc5v>; 92 vin2-supply = <®_vcc5v>; 121 vin3-supply = <®_vcc5v>; 93 vin3-supply = <®_vcc5v>; 122 94 123 regulators { 95 regulators { 124 reg_aldo1: aldo1 { 96 reg_aldo1: aldo1 { 125 regulator-alwa 97 regulator-always-on; 126 regulator-min- 98 regulator-min-microvolt = <1800000>; 127 regulator-max- 99 regulator-max-microvolt = <1800000>; 128 regulator-name 100 regulator-name = "vcc-1v8-pll"; 129 }; 101 }; 130 102 131 reg_dldo1: dldo1 { 103 reg_dldo1: dldo1 { 132 regulator-alwa 104 regulator-always-on; 133 regulator-min- 105 regulator-min-microvolt = <3300000>; 134 regulator-max- 106 regulator-max-microvolt = <3300000>; 135 regulator-name 107 regulator-name = "vcc-3v3-io-mmc"; 136 }; 108 }; 137 109 138 reg_dcdc1: dcdc1 { 110 reg_dcdc1: dcdc1 { 139 regulator-alwa 111 regulator-always-on; 140 regulator-min- 112 regulator-min-microvolt = <810000>; 141 regulator-max- 113 regulator-max-microvolt = <990000>; 142 regulator-name 114 regulator-name = "vdd-gpu-sys"; 143 }; 115 }; 144 116 145 reg_dcdc2: dcdc2 { 117 reg_dcdc2: dcdc2 { 146 regulator-alwa 118 regulator-always-on; 147 regulator-min- 119 regulator-min-microvolt = <810000>; 148 regulator-max- 120 regulator-max-microvolt = <1100000>; 149 regulator-name 121 regulator-name = "vdd-cpu"; 150 }; 122 }; 151 123 152 reg_dcdc3: dcdc3 { 124 reg_dcdc3: dcdc3 { 153 regulator-alwa 125 regulator-always-on; 154 regulator-min- 126 regulator-min-microvolt = <1360000>; 155 regulator-max- 127 regulator-max-microvolt = <1360000>; 156 regulator-name 128 regulator-name = "vdd-dram"; 157 }; 129 }; 158 }; 130 }; 159 }; 131 }; 160 }; 132 }; 161 133 162 &pio { 134 &pio { 163 vcc-pc-supply = <®_aldo1>; 135 vcc-pc-supply = <®_aldo1>; 164 vcc-pg-supply = <®_dldo1>; 136 vcc-pg-supply = <®_dldo1>; 165 vcc-ph-supply = <®_dldo1>; 137 vcc-ph-supply = <®_dldo1>; 166 vcc-pi-supply = <®_dldo1>; 138 vcc-pi-supply = <®_dldo1>; 167 }; 139 }; 168 140 169 &uart0 { 141 &uart0 { 170 pinctrl-names = "default"; 142 pinctrl-names = "default"; 171 pinctrl-0 = <&uart0_ph_pins>; 143 pinctrl-0 = <&uart0_ph_pins>; 172 status = "okay"; 144 status = "okay"; 173 }; 145 }; 174 146 175 &uart1 { 147 &uart1 { 176 pinctrl-names = "default"; 148 pinctrl-names = "default"; 177 pinctrl-0 = <&uart1_pins>, <&uart1_rts 149 pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; 178 uart-has-rtscts; 150 uart-has-rtscts; 179 status = "okay"; 151 status = "okay"; 180 }; 152 }; 181 153 182 &usbotg { 154 &usbotg { 183 dr_mode = "host"; /* USB A type 155 dr_mode = "host"; /* USB A type receptable */ 184 status = "okay"; 156 status = "okay"; 185 }; 157 }; 186 158 187 &usbphy { 159 &usbphy { 188 status = "okay"; 160 status = "okay"; 189 }; 161 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.