1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (C) 2023 Martin Botka <martin.botk 4 */ 5 6 /dts-v1/; 7 8 #include "sun50i-h616.dtsi" 9 #include "sun50i-h616-cpu-opp.dtsi" 10 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/arm 13 #include <dt-bindings/leds/common.h> 14 15 / { 16 aliases { 17 ethernet0 = &rtl8189ftv; 18 }; 19 20 leds { 21 compatible = "gpio-leds"; 22 23 led-0 { 24 function = LED_FUNCTIO 25 color = <LED_COLOR_ID_ 26 gpios = <&pio 7 5 GPIO 27 }; 28 }; 29 30 reg_vcc5v: regulator-vcc5v { 31 /* board wide 5V supply from c 32 compatible = "regulator-fixed" 33 regulator-name = "vcc-5v"; 34 regulator-min-microvolt = <500 35 regulator-max-microvolt = <500 36 regulator-always-on; 37 }; 38 39 reg_vcc33_wifi: vcc33-wifi { 40 compatible = "regulator-fixed" 41 regulator-name = "vcc33-wifi"; 42 regulator-min-microvolt = <330 43 regulator-max-microvolt = <330 44 regulator-always-on; 45 vin-supply = <®_vcc5v>; 46 }; 47 48 reg_vcc_wifi_io: vcc-wifi-io { 49 compatible = "regulator-fixed" 50 regulator-name = "vcc-wifi-io" 51 regulator-min-microvolt = <180 52 regulator-max-microvolt = <180 53 regulator-always-on; 54 vin-supply = <®_vcc33_wifi> 55 }; 56 57 wifi_pwrseq: wifi-pwrseq { 58 compatible = "mmc-pwrseq-simpl 59 clocks = <&rtc 1>; 60 clock-names = "ext_clock"; 61 reset-gpios = <&pio 6 18 GPIO_ 62 post-power-on-delay-ms = <200> 63 }; 64 }; 65 66 &cpu0 { 67 cpu-supply = <®_dcdc2>; 68 }; 69 70 &mmc0 { 71 vmmc-supply = <®_dldo1>; 72 /* Card detection pin is not connected 73 broken-cd; 74 bus-width = <4>; 75 status = "okay"; 76 }; 77 78 &mmc1 { 79 vmmc-supply = <®_vcc33_wifi>; 80 vqmmc-supply = <®_vcc_wifi_io>; 81 mmc-pwrseq = <&wifi_pwrseq>; 82 bus-width = <4>; 83 non-removable; 84 mmc-ddr-1_8v; 85 status = "okay"; 86 87 rtl8189ftv: wifi@1 { 88 reg = <1>; 89 }; 90 }; 91 92 &r_i2c { 93 status = "okay"; 94 95 axp313a: pmic@36 { 96 compatible = "x-powers,axp313a 97 reg = <0x36>; 98 interrupt-controller; 99 #interrupt-cells = <1>; 100 101 regulators { 102 reg_dcdc1: dcdc1 { 103 regulator-name 104 regulator-min- 105 regulator-max- 106 regulator-alwa 107 }; 108 109 reg_dcdc2: dcdc2 { 110 regulator-name 111 regulator-min- 112 regulator-max- 113 regulator-ramp 114 regulator-alwa 115 }; 116 117 reg_dcdc3: dcdc3 { 118 regulator-name 119 regulator-min- 120 regulator-max- 121 regulator-alwa 122 }; 123 124 reg_aldo1: aldo1 { 125 regulator-name 126 regulator-min- 127 regulator-max- 128 regulator-alwa 129 }; 130 131 reg_dldo1: dldo1 { 132 regulator-name 133 regulator-min- 134 regulator-max- 135 regulator-alwa 136 }; 137 }; 138 }; 139 }; 140 141 &usbphy { 142 status = "okay"; 143 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.