1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) 2023 SberDevices 4 * Author: Dmitry Rokosov <ddrokosov@sberdevice 5 */ 6 7 /dts-v1/; 8 9 #include "meson-a1.dtsi" 10 #include <dt-bindings/thermal/thermal.h> 11 12 / { 13 compatible = "amlogic,ad402", "amlogic 14 model = "Amlogic Meson A1 AD402 Develo 15 16 aliases { 17 serial0 = &uart_AO_B; 18 }; 19 20 chosen { 21 stdout-path = "serial0:115200n 22 }; 23 24 memory@0 { 25 device_type = "memory"; 26 reg = <0x0 0x0 0x0 0x8000000>; 27 }; 28 29 reserved-memory { 30 /* 3 MiB reserved for Amlogic 31 secos_reserved: secos@3d00000 32 reg = <0x0 0x03d00000 33 no-map; 34 }; 35 }; 36 37 firmware { 38 optee { 39 compatible = "linaro,o 40 method = "smc"; 41 }; 42 }; 43 44 battery_4v2: regulator-battery-4v2 { 45 compatible = "regulator-fixed" 46 regulator-name = "4V2"; 47 regulator-min-microvolt = <420 48 regulator-max-microvolt = <420 49 regulator-always-on; 50 }; 51 52 vddq_1v35: regulator-vddq-1v35 { 53 compatible = "regulator-fixed" 54 regulator-name = "VDDQ_1V35"; 55 regulator-min-microvolt = <135 56 regulator-max-microvolt = <135 57 vin-supply = <&battery_4v2>; 58 regulator-always-on; 59 }; 60 61 vddao_3v3: regulator-vddao-3v3 { 62 compatible = "regulator-fixed" 63 regulator-name = "VDDAO_3V3"; 64 regulator-min-microvolt = <330 65 regulator-max-microvolt = <330 66 vin-supply = <&battery_4v2>; 67 regulator-always-on; 68 }; 69 70 vcc_3v3: regulator-vcc-3v3 { 71 compatible = "regulator-fixed" 72 regulator-name = "VCC_3V3"; 73 regulator-min-microvolt = <330 74 regulator-max-microvolt = <330 75 vin-supply = <&vddao_3v3>; 76 regulator-always-on; 77 }; 78 79 vddio_1v8: regulator-vddio-1v8 { 80 compatible = "regulator-fixed" 81 regulator-name = "VDDIO_1V8"; 82 regulator-min-microvolt = <180 83 regulator-max-microvolt = <180 84 vin-supply = <&vddao_3v3>; 85 regulator-always-on; 86 }; 87 88 thermal-zones { 89 soc_thermal: soc-thermal { 90 polling-delay = <1000> 91 polling-delay-passive 92 sustainable-power = <1 93 94 thermal-sensors = <&cp 95 96 trips { 97 soc_passive: s 98 temper 99 hyster 100 type = 101 }; 102 103 soc_hot: soc-h 104 temper 105 hyster 106 type = 107 }; 108 109 soc_critical: 110 temper 111 hyster 112 type = 113 }; 114 }; 115 116 soc_cooling_maps: cool 117 map0 { 118 trip = 119 coolin 120 121 }; 122 123 map1 { 124 trip = 125 coolin 126 127 }; 128 }; 129 }; 130 }; 131 }; 132 133 /* Bluetooth HCI H4 */ 134 &uart_AO { 135 status = "okay"; 136 pinctrl-0 = <&uart_a_pins>, <&uart_a_c 137 pinctrl-names = "default"; 138 }; 139 140 &uart_AO_B { 141 status = "okay"; 142 }; 143 144 &saradc { 145 status = "okay"; 146 vref-supply = <&vddio_1v8>; 147 }; 148 149 &spifc { 150 status = "okay"; 151 pinctrl-0 = <&spifc_pins>; 152 pinctrl-names = "default"; 153 154 flash@0 { 155 compatible = "spi-nand"; 156 status = "okay"; 157 reg = <0>; 158 spi-max-frequency = <96000000> 159 spi-tx-bus-width = <4>; 160 spi-rx-bus-width = <4>; 161 }; 162 }; 163 164 &usb2_phy1 { 165 phy-supply = <&vcc_3v3>; 166 }; 167 168 &usb { 169 status = "okay"; 170 dr_mode = "peripheral"; 171 }; 172 173 &sd_emmc { 174 status = "okay"; 175 176 #address-cells = <1>; 177 #size-cells = <0>; 178 179 pinctrl-0 = <&sdio_pins>; 180 pinctrl-1 = <&sdio_clk_gate_pins>; 181 pinctrl-names = "default", "clk-gate"; 182 183 bus-width = <4>; 184 cap-sd-highspeed; 185 sd-uhs-sdr104; 186 max-frequency = <200000000>; 187 non-removable; 188 disable-wp; 189 190 vmmc-supply = <&vddao_3v3>; 191 vqmmc-supply = <&vddio_1v8>; 192 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.