Piotr Wilczek | 4efd33a | 2014-03-07 14:59:48 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos4210 based Trats board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * SPDX-License-Identifier: GPL-2.0+ |
| 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
Simon Glass | 144cb55 | 2014-10-20 19:48:30 -0600 | [diff] [blame] | 11 | #include "exynos4210.dtsi" |
Piotr Wilczek | 4efd33a | 2014-03-07 14:59:48 +0100 | [diff] [blame] | 12 | |
| 13 | / { |
| 14 | model = "Samsung Trats based on Exynos4210"; |
| 15 | compatible = "samsung,trats", "samsung,exynos4210"; |
| 16 | |
| 17 | config { |
| 18 | samsung,dsim-device-name = "s6e8ax0"; |
| 19 | }; |
| 20 | |
| 21 | aliases { |
Piotr Wilczek | 4efd33a | 2014-03-07 14:59:48 +0100 | [diff] [blame] | 22 | serial0 = "/serial@13800000"; |
| 23 | console = "/serial@13820000"; |
Jaehoon Chung | 6064707 | 2017-03-30 21:30:00 +0900 | [diff] [blame] | 24 | i2c8 = &i2c_fg; |
Piotr Wilczek | 4efd33a | 2014-03-07 14:59:48 +0100 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | fimd@11c00000 { |
| 28 | compatible = "samsung,exynos-fimd"; |
| 29 | reg = <0x11c00000 0xa4>; |
| 30 | |
| 31 | samsung,vl-freq = <60>; |
| 32 | samsung,vl-col = <720>; |
| 33 | samsung,vl-row = <1280>; |
| 34 | samsung,vl-width = <720>; |
| 35 | samsung,vl-height = <1280>; |
| 36 | |
| 37 | samsung,vl-clkp = <0>; |
| 38 | samsung,vl-oep = <0>; |
| 39 | samsung,vl-hsp = <1>; |
| 40 | samsung,vl-vsp = <1>; |
| 41 | samsung,vl-dp = <1>; |
| 42 | samsung,vl-bpix = <4>; |
| 43 | |
| 44 | samsung,vl-hspw = <5>; |
| 45 | samsung,vl-hbpd = <10>; |
| 46 | samsung,vl-hfpd = <10>; |
| 47 | samsung,vl-vspw = <2>; |
| 48 | samsung,vl-vbpd = <1>; |
| 49 | samsung,vl-vfpd = <13>; |
| 50 | samsung,vl-cmd-allow-len = <0xf>; |
| 51 | |
| 52 | samsung,winid = <3>; |
| 53 | samsung,power-on-delay = <30>; |
| 54 | samsung,interface-mode = <1>; |
| 55 | samsung,mipi-enabled = <1>; |
| 56 | samsung,dp-enabled; |
| 57 | samsung,dual-lcd-enabled; |
| 58 | |
| 59 | samsung,logo-on = <1>; |
| 60 | samsung,resolution = <0>; |
| 61 | samsung,rgb-mode = <0>; |
| 62 | }; |
| 63 | |
| 64 | mipidsi@11c80000 { |
| 65 | compatible = "samsung,exynos-mipi-dsi"; |
| 66 | reg = <0x11c80000 0x5c>; |
| 67 | |
| 68 | samsung,dsim-config-e-interface = <1>; |
| 69 | samsung,dsim-config-e-virtual-ch = <0>; |
| 70 | samsung,dsim-config-e-pixel-format = <7>; |
| 71 | samsung,dsim-config-e-burst-mode = <1>; |
| 72 | samsung,dsim-config-e-no-data-lane = <3>; |
| 73 | samsung,dsim-config-e-byte-clk = <0>; |
| 74 | samsung,dsim-config-hfp = <1>; |
| 75 | |
| 76 | samsung,dsim-config-p = <3>; |
| 77 | samsung,dsim-config-m = <120>; |
| 78 | samsung,dsim-config-s = <1>; |
| 79 | |
| 80 | samsung,dsim-config-pll-stable-time = <500>; |
| 81 | samsung,dsim-config-esc-clk = <20000000>; |
| 82 | samsung,dsim-config-stop-holding-cnt = <0x7ff>; |
| 83 | samsung,dsim-config-bta-timeout = <0xff>; |
| 84 | samsung,dsim-config-rx-timeout = <0xffff>; |
| 85 | |
| 86 | samsung,dsim-device-id = <0xffffffff>; |
| 87 | samsung,dsim-device-bus-id = <0>; |
| 88 | |
| 89 | samsung,dsim-device-reverse-panel = <1>; |
| 90 | }; |
| 91 | |
Jaehoon Chung | 6064707 | 2017-03-30 21:30:00 +0900 | [diff] [blame] | 92 | i2c_fg: fuel-gauge { |
| 93 | compatible = "i2c-gpio"; |
| 94 | gpios = <&gpy4 1 0>, /* sda */ |
| 95 | <&gpy4 0 0>; /* scl */ |
| 96 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 97 | status = "okay"; |
| 98 | }; |
Akshay Saraswat | 1376cdd | 2014-05-13 10:30:14 +0530 | [diff] [blame] | 99 | }; |
Jaehoon Chung | c798b80 | 2017-02-02 17:04:10 +0900 | [diff] [blame] | 100 | |
| 101 | &i2c_5 { |
| 102 | clock-frequency = <100000>; |
| 103 | status = "okay"; |
| 104 | |
| 105 | max8997-pmic@66 { |
| 106 | compatible = "maxim,max8997"; |
| 107 | reg = <0x66 0 0>; |
| 108 | voltage-regulators { |
| 109 | valive_reg: LDO2 { |
| 110 | regulator-name = "VALIVE_1.1V_C210"; |
| 111 | regulator-min-microvolt = <1100000>; |
| 112 | regulator-max-microvolt = <1100000>; |
| 113 | regulator-always-on; |
| 114 | }; |
| 115 | |
| 116 | vusb_reg: LDO3 { |
| 117 | regulator-name = "VUSB_1.1V_C210"; |
| 118 | regulator-min-microvolt = <1100000>; |
| 119 | regulator-max-microvolt = <1100000>; |
| 120 | }; |
| 121 | |
| 122 | vmipi_reg: LDO4 { |
| 123 | regulator-name = "VMIPI_1.8V"; |
| 124 | regulator-min-microvolt = <1800000>; |
| 125 | regulator-max-microvolt = <1800000>; |
| 126 | }; |
| 127 | |
| 128 | vpda_reg: LDO6 { |
| 129 | regulator-name = "VCC_1.8V_PDA"; |
| 130 | regulator-min-microvolt = <1800000>; |
| 131 | regulator-max-microvolt = <1800000>; |
| 132 | regulator-always-on; |
| 133 | }; |
| 134 | |
| 135 | vcam_reg: LDO7 { |
| 136 | regulator-name = "CAM_ISP_1.8V"; |
| 137 | regulator-min-microvolt = <1800000>; |
| 138 | regulator-max-microvolt = <1800000>; |
| 139 | }; |
| 140 | |
| 141 | vusbdac_reg: LDO8 { |
| 142 | regulator-name = "VUSB+VDAC_3.3V_C210"; |
| 143 | regulator-min-microvolt = <3300000>; |
| 144 | regulator-max-microvolt = <3300000>; |
| 145 | }; |
| 146 | |
| 147 | vccpda_reg: LDO9 { |
| 148 | regulator-name = "VCC_2.8V_PDA"; |
| 149 | regulator-min-microvolt = <2800000>; |
| 150 | regulator-max-microvolt = <2800000>; |
| 151 | regulator-always-on; |
| 152 | }; |
| 153 | |
| 154 | vpll_reg: LDO10 { |
| 155 | regulator-name = "VPLL_1.1V_C210"; |
| 156 | regulator-min-microvolt = <1100000>; |
| 157 | regulator-max-microvolt = <1100000>; |
| 158 | regulator-always-on; |
| 159 | }; |
| 160 | |
| 161 | vtcam_reg: LDO12 { |
| 162 | regulator-name = "VT_CAM_1.8V"; |
| 163 | regulator-min-microvolt = <1800000>; |
| 164 | regulator-max-microvolt = <1800000>; |
| 165 | }; |
| 166 | |
| 167 | vcclcd_reg: LDO13 { |
| 168 | regulator-name = "VCC_3.3V_LCD"; |
| 169 | regulator-min-microvolt = <3300000>; |
| 170 | regulator-max-microvolt = <3300000>; |
| 171 | }; |
| 172 | |
| 173 | vlcd_reg: LDO15 { |
| 174 | regulator-name = "VLCD_2.2V"; |
| 175 | regulator-min-microvolt = <2200000>; |
| 176 | regulator-max-microvolt = <2200000>; |
| 177 | }; |
| 178 | |
| 179 | camsensor_reg: LDO16 { |
| 180 | regulator-name = "CAM_SENSOR_IO_1.8V"; |
| 181 | regulator-min-microvolt = <1800000>; |
| 182 | regulator-max-microvolt = <1800000>; |
| 183 | }; |
| 184 | |
| 185 | vddq_reg: LDO21 { |
| 186 | regulator-name = "VDDQ_M1M2_1.2V"; |
| 187 | regulator-min-microvolt = <1200000>; |
| 188 | regulator-max-microvolt = <1200000>; |
| 189 | regulator-always-on; |
| 190 | }; |
| 191 | |
| 192 | varm_breg: BUCK1 { |
| 193 | /* |
| 194 | * HACK: The real name is VARM_1.2V_C210, |
| 195 | * but exynos-cpufreq does not support |
| 196 | * DT-based regulator lookup yet. |
| 197 | */ |
| 198 | regulator-name = "vdd_arm"; |
| 199 | regulator-min-microvolt = <900000>; |
| 200 | regulator-max-microvolt = <1350000>; |
| 201 | regulator-always-on; |
| 202 | }; |
| 203 | |
| 204 | vint_breg: BUCK2 { |
| 205 | regulator-name = "VINT_1.1V_C210"; |
| 206 | regulator-min-microvolt = <900000>; |
| 207 | regulator-max-microvolt = <1100000>; |
| 208 | regulator-always-on; |
| 209 | }; |
| 210 | |
| 211 | camisp_breg: BUCK4 { |
| 212 | regulator-name = "CAM_ISP_CORE_1.2V"; |
| 213 | regulator-min-microvolt = <1200000>; |
| 214 | regulator-max-microvolt = <1200000>; |
| 215 | }; |
| 216 | |
| 217 | vmem_breg: BUCK5 { |
| 218 | regulator-name = "VMEM_1.2V_C210"; |
| 219 | regulator-min-microvolt = <1200000>; |
| 220 | regulator-max-microvolt = <1200000>; |
| 221 | regulator-always-on; |
| 222 | }; |
| 223 | |
| 224 | vccsub_breg: BUCK7 { |
| 225 | regulator-name = "VCC_SUB_2.0V"; |
| 226 | regulator-min-microvolt = <2000000>; |
| 227 | regulator-max-microvolt = <2000000>; |
| 228 | regulator-always-on; |
| 229 | }; |
| 230 | |
| 231 | safe1_sreg: ESAFEOUT1 { |
| 232 | regulator-name = "SAFEOUT1"; |
| 233 | }; |
| 234 | |
| 235 | safe2_sreg: ESAFEOUT2 { |
| 236 | regulator-name = "SAFEOUT2"; |
| 237 | regulator-boot-on; |
| 238 | }; |
| 239 | }; |
| 240 | }; |
| 241 | }; |
Jaehoon Chung | 2d10e00 | 2017-05-30 10:03:28 +0900 | [diff] [blame] | 242 | |
| 243 | &sdhci0 { |
| 244 | samsung,bus-width = <8>; |
| 245 | samsung,timing = <1 3 3>; |
| 246 | pwr-gpios = <&gpk0 2 0>; |
| 247 | status = "okay"; |
| 248 | }; |
| 249 | |
| 250 | &sdhci2 { |
| 251 | samsung,bus-width = <4>; |
| 252 | samsung,timing = <1 2 3>; |
| 253 | cd-gpios = <&gpx3 4 0>; |
| 254 | status = "okay"; |
| 255 | }; |