| .. | .. |
|---|
| 6 | 6 | |
|---|
| 7 | 7 | /dts-v1/; |
|---|
| 8 | 8 | |
|---|
| 9 | | -#include <dt-bindings/gpio/gpio.h> |
|---|
| 10 | | - |
|---|
| 11 | 9 | #include "rk3528.dtsi" |
|---|
| 12 | 10 | #include "rk3528-android.dtsi" |
|---|
| 13 | 11 | |
|---|
| 14 | 12 | / { |
|---|
| 15 | | - model = "Rockchip RK3528 IOTEST LP3 V10 Board"; |
|---|
| 13 | + model = "Rockchip rk3528 iotest board"; |
|---|
| 16 | 14 | compatible = "rockchip,rk3528-iotest-lp3-v10", "rockchip,rk3528"; |
|---|
| 17 | | - |
|---|
| 18 | | - firmware { |
|---|
| 19 | | - android { |
|---|
| 20 | | - compatible = "android,firmware"; |
|---|
| 21 | | - boot_devices = "ffbf0000.mmc"; |
|---|
| 22 | | - vbmeta { |
|---|
| 23 | | - compatible = "android,vbmeta"; |
|---|
| 24 | | - parts = "vbmeta,boot,system,vendor,dtbo"; |
|---|
| 25 | | - }; |
|---|
| 26 | | - fstab { |
|---|
| 27 | | - compatible = "android,fstab"; |
|---|
| 28 | | - vendor { |
|---|
| 29 | | - compatible = "android,vendor"; |
|---|
| 30 | | - dev = "/dev/block/by-name/vendor"; |
|---|
| 31 | | - type = "ext4"; |
|---|
| 32 | | - mnt_flags = "ro,barrier=1,inode_readahead_blks=8"; |
|---|
| 33 | | - fsmgr_flags = "wait,avb"; |
|---|
| 34 | | - }; |
|---|
| 35 | | - }; |
|---|
| 36 | | - }; |
|---|
| 37 | | - }; |
|---|
| 38 | | - |
|---|
| 39 | | - dc_12v: dc-12v { |
|---|
| 40 | | - compatible = "regulator-fixed"; |
|---|
| 41 | | - regulator-name = "dc_12v"; |
|---|
| 42 | | - regulator-always-on; |
|---|
| 43 | | - regulator-boot-on; |
|---|
| 44 | | - regulator-min-microvolt = <12000000>; |
|---|
| 45 | | - regulator-max-microvolt = <12000000>; |
|---|
| 46 | | - }; |
|---|
| 47 | | - |
|---|
| 48 | | - vcc5v0_sys: vcc5v0-sys { |
|---|
| 49 | | - compatible = "regulator-fixed"; |
|---|
| 50 | | - regulator-name = "vcc5v0_sys"; |
|---|
| 51 | | - regulator-always-on; |
|---|
| 52 | | - regulator-boot-on; |
|---|
| 53 | | - regulator-min-microvolt = <5000000>; |
|---|
| 54 | | - regulator-max-microvolt = <5000000>; |
|---|
| 55 | | - vin-supply = <&dc_12v>; |
|---|
| 56 | | - }; |
|---|
| 57 | | - |
|---|
| 58 | | - vdd_logic: vdd-logic { |
|---|
| 59 | | - compatible = "pwm-regulator"; |
|---|
| 60 | | - pwms = <&pwm2 0 5000 1>; |
|---|
| 61 | | - regulator-name = "vdd_logic"; |
|---|
| 62 | | - regulator-min-microvolt = <705000>; |
|---|
| 63 | | - regulator-max-microvolt = <1006000>; |
|---|
| 64 | | - regulator-init-microvolt = <900000>; |
|---|
| 65 | | - regulator-always-on; |
|---|
| 66 | | - regulator-boot-on; |
|---|
| 67 | | - regulator-settling-time-up-us = <250>; |
|---|
| 68 | | - pwm-supply = <&vcc5v0_sys>; |
|---|
| 69 | | - status = "okay"; |
|---|
| 70 | | - }; |
|---|
| 71 | | - |
|---|
| 72 | | - vdd_cpu: vdd-cpu { |
|---|
| 73 | | - compatible = "pwm-regulator"; |
|---|
| 74 | | - pwms = <&pwm1 0 5000 1>; |
|---|
| 75 | | - regulator-name = "vdd_cpu"; |
|---|
| 76 | | - regulator-min-microvolt = <746000>; |
|---|
| 77 | | - regulator-max-microvolt = <1201000>; |
|---|
| 78 | | - regulator-init-microvolt = <953000>; |
|---|
| 79 | | - regulator-always-on; |
|---|
| 80 | | - regulator-boot-on; |
|---|
| 81 | | - regulator-settling-time-up-us = <250>; |
|---|
| 82 | | - pwm-supply = <&vcc5v0_sys>; |
|---|
| 83 | | - status = "okay"; |
|---|
| 84 | | - }; |
|---|
| 85 | | - |
|---|
| 86 | | - vdd_gpu: vdd-gpu { |
|---|
| 87 | | - compatible = "pwm-regulator"; |
|---|
| 88 | | - pwms = <&pwm0 0 5000 1>; |
|---|
| 89 | | - regulator-name = "vdd_gpu"; |
|---|
| 90 | | - regulator-min-microvolt = <705000>; |
|---|
| 91 | | - regulator-max-microvolt = <1148000>; |
|---|
| 92 | | - regulator-init-microvolt = <900000>; |
|---|
| 93 | | - regulator-always-on; |
|---|
| 94 | | - regulator-boot-on; |
|---|
| 95 | | - regulator-settling-time-up-us = <250>; |
|---|
| 96 | | - pwm-supply = <&vcc5v0_sys>; |
|---|
| 97 | | - status = "okay"; |
|---|
| 98 | | - }; |
|---|
| 99 | | - |
|---|
| 100 | | - vdd_0v9_s3: vdd-0v9-s3 { |
|---|
| 101 | | - compatible = "regulator-fixed"; |
|---|
| 102 | | - regulator-name = "vdd_0v9_s3"; |
|---|
| 103 | | - regulator-always-on; |
|---|
| 104 | | - regulator-boot-on; |
|---|
| 105 | | - regulator-min-microvolt = <900000>; |
|---|
| 106 | | - regulator-max-microvolt = <900000>; |
|---|
| 107 | | - vin-supply = <&vcc5v0_sys>; |
|---|
| 108 | | - }; |
|---|
| 109 | | - |
|---|
| 110 | | - vdd_1v8_s3: vdd-1v8-s3 { |
|---|
| 111 | | - compatible = "regulator-fixed"; |
|---|
| 112 | | - regulator-name = "vdd_1v8_s3"; |
|---|
| 113 | | - regulator-always-on; |
|---|
| 114 | | - regulator-boot-on; |
|---|
| 115 | | - regulator-min-microvolt = <1800000>; |
|---|
| 116 | | - regulator-max-microvolt = <1800000>; |
|---|
| 117 | | - vin-supply = <&vcc5v0_sys>; |
|---|
| 118 | | - }; |
|---|
| 119 | | - |
|---|
| 120 | | - vcc_3v3_s3: vcc-3v3-s3 { |
|---|
| 121 | | - compatible = "regulator-fixed"; |
|---|
| 122 | | - regulator-name = "vcc_3v3_s3"; |
|---|
| 123 | | - regulator-always-on; |
|---|
| 124 | | - regulator-boot-on; |
|---|
| 125 | | - regulator-min-microvolt = <3300000>; |
|---|
| 126 | | - regulator-max-microvolt = <3300000>; |
|---|
| 127 | | - vin-supply = <&vcc5v0_sys>; |
|---|
| 128 | | - }; |
|---|
| 129 | | - |
|---|
| 130 | | - vcc_ddr_s3: vcc-ddr-s3 { |
|---|
| 131 | | - compatible = "regulator-fixed"; |
|---|
| 132 | | - regulator-name = "vcc_ddr_s3"; |
|---|
| 133 | | - regulator-always-on; |
|---|
| 134 | | - regulator-boot-on; |
|---|
| 135 | | - regulator-min-microvolt = <1200000>; |
|---|
| 136 | | - regulator-max-microvolt = <1200000>; |
|---|
| 137 | | - vin-supply = <&vcc5v0_sys>; |
|---|
| 138 | | - }; |
|---|
| 139 | 15 | }; |
|---|
| 140 | 16 | |
|---|
| 141 | | -&cpu0 { |
|---|
| 142 | | - cpu-supply = <&vdd_cpu>; |
|---|
| 143 | | -}; |
|---|
| 144 | | - |
|---|
| 145 | | -&cpu0_opp_table { |
|---|
| 146 | | - /delete-node/ opp-1416000000; |
|---|
| 147 | | - /delete-node/ opp-1608000000; |
|---|
| 148 | | -}; |
|---|
| 149 | | - |
|---|
| 150 | | -&pwm0 { |
|---|
| 151 | | - status = "okay"; |
|---|
| 152 | | -}; |
|---|
| 153 | | - |
|---|
| 154 | | -&pwm1 { |
|---|
| 155 | | - status = "okay"; |
|---|
| 156 | | -}; |
|---|
| 157 | | - |
|---|
| 158 | | -&pwm2 { |
|---|
| 159 | | - status = "okay"; |
|---|
| 160 | | -}; |
|---|
| 161 | | - |
|---|
| 162 | | -&sdhci { |
|---|
| 163 | | - bus-width = <8>; |
|---|
| 164 | | - supports-emmc; |
|---|
| 165 | | - non-removable; |
|---|
| 166 | | - max-frequency = <200000000>; |
|---|
| 167 | | - status = "okay"; |
|---|
| 168 | | -}; |
|---|
| 169 | | - |
|---|
| 170 | | -&u2phy_host { |
|---|
| 171 | | - status = "okay"; |
|---|
| 172 | | -}; |
|---|
| 173 | | - |
|---|
| 174 | | -&u2phy_otg { |
|---|
| 175 | | - status = "okay"; |
|---|
| 176 | | -}; |
|---|
| 177 | | - |
|---|
| 178 | | -&usb2phy { |
|---|
| 179 | | - status = "okay"; |
|---|
| 180 | | -}; |
|---|
| 181 | | - |
|---|
| 182 | | -&usb_host0_ehci { |
|---|
| 183 | | - status = "okay"; |
|---|
| 184 | | -}; |
|---|
| 185 | | - |
|---|
| 186 | | -&usb_host0_ohci { |
|---|
| 187 | | - status = "okay"; |
|---|
| 188 | | -}; |
|---|
| 189 | | - |
|---|
| 190 | | -&usbdrd30 { |
|---|
| 191 | | - status = "okay"; |
|---|
| 192 | | -}; |
|---|
| 193 | | - |
|---|
| 194 | | -&usbdrd_dwc3 { |
|---|
| 195 | | - dr_mode = "peripheral"; |
|---|
| 196 | | - maximum-speed = "high-speed"; |
|---|
| 197 | | - extcon = <&usb2phy>; |
|---|
| 198 | | - phys = <&u2phy_otg>; |
|---|
| 199 | | - phy-names = "usb2-phy"; |
|---|
| 200 | | - snps,dis_u2_susphy_quirk; |
|---|
| 201 | | - snps,usb2-lpm-disable; |
|---|
| 202 | | - status = "okay"; |
|---|
| 203 | | -}; |
|---|