0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Samsung Exynos7 Espresso board device tree source
0004 *
0005 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
0006 * http://www.samsung.com
0007 */
0008
0009 /dts-v1/;
0010 #include "exynos7.dtsi"
0011 #include <dt-bindings/interrupt-controller/irq.h>
0012 #include <dt-bindings/clock/samsung,s2mps11.h>
0013 #include <dt-bindings/gpio/gpio.h>
0014
0015 / {
0016 model = "Samsung Exynos7 Espresso board based on Exynos7";
0017 compatible = "samsung,exynos7-espresso", "samsung,exynos7";
0018
0019 aliases {
0020 serial0 = &serial_2;
0021 mshc0 = &mmc_0;
0022 mshc2 = &mmc_2;
0023 };
0024
0025 chosen {
0026 stdout-path = &serial_2;
0027 };
0028
0029 memory@40000000 {
0030 device_type = "memory";
0031 reg = <0x0 0x40000000 0x0 0xC0000000>;
0032 };
0033
0034 usb30_vbus_reg: regulator-usb30 {
0035 compatible = "regulator-fixed";
0036 regulator-name = "VBUS_5V";
0037 regulator-min-microvolt = <5000000>;
0038 regulator-max-microvolt = <5000000>;
0039 gpio = <&gph1 1 GPIO_ACTIVE_HIGH>;
0040 pinctrl-names = "default";
0041 pinctrl-0 = <&usb30_vbus_en>;
0042 enable-active-high;
0043 };
0044
0045 usb3drd_boost_5v: regulator-usb3drd-boost {
0046 compatible = "regulator-fixed";
0047 regulator-name = "VUSB_VBUS_5V";
0048 regulator-min-microvolt = <5000000>;
0049 regulator-max-microvolt = <5000000>;
0050 gpio = <&gpf4 1 GPIO_ACTIVE_HIGH>;
0051 pinctrl-names = "default";
0052 pinctrl-0 = <&usb3drd_boost_en>;
0053 enable-active-high;
0054 };
0055
0056 };
0057
0058 &fin_pll {
0059 clock-frequency = <24000000>;
0060 };
0061
0062 &gpu {
0063 mali-supply = <&buck6_reg>;
0064 status = "okay";
0065 };
0066
0067 &serial_2 {
0068 status = "okay";
0069 };
0070
0071 &rtc {
0072 status = "okay";
0073 clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>;
0074 clock-names = "rtc", "rtc_src";
0075 };
0076
0077 &watchdog {
0078 status = "okay";
0079 };
0080
0081 &adc {
0082 status = "okay";
0083 };
0084
0085 &hsi2c_4 {
0086 samsung,i2c-sda-delay = <100>;
0087 samsung,i2c-max-bus-freq = <200000>;
0088 status = "okay";
0089
0090 pmic@66 {
0091 compatible = "samsung,s2mps15-pmic";
0092 reg = <0x66>;
0093 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
0094 interrupt-parent = <&gpa0>;
0095 pinctrl-names = "default";
0096 pinctrl-0 = <&pmic_irq>;
0097 wakeup-source;
0098
0099 s2mps15_osc: clocks {
0100 compatible = "samsung,s2mps13-clk";
0101 #clock-cells = <1>;
0102 clock-output-names = "s2mps13_ap", "s2mps13_cp",
0103 "s2mps13_bt";
0104 };
0105
0106 regulators {
0107 ldo1_reg: LDO1 {
0108 regulator-name = "vdd_ldo1";
0109 regulator-min-microvolt = <500000>;
0110 regulator-max-microvolt = <900000>;
0111 regulator-always-on;
0112 regulator-enable-ramp-delay = <125>;
0113 };
0114
0115 ldo2_reg: LDO2 {
0116 regulator-name = "vqmmc-sdcard";
0117 regulator-min-microvolt = <1620000>;
0118 regulator-max-microvolt = <3300000>;
0119 regulator-always-on;
0120 regulator-enable-ramp-delay = <125>;
0121 };
0122
0123 ldo3_reg: LDO3 {
0124 regulator-name = "vdd_ldo3";
0125 regulator-min-microvolt = <1620000>;
0126 regulator-max-microvolt = <1980000>;
0127 regulator-always-on;
0128 regulator-boot-on;
0129 regulator-enable-ramp-delay = <125>;
0130 };
0131
0132 ldo4_reg: LDO4 {
0133 regulator-name = "vdd_ldo4";
0134 regulator-min-microvolt = <800000>;
0135 regulator-max-microvolt = <1110000>;
0136 regulator-always-on;
0137 regulator-enable-ramp-delay = <125>;
0138 };
0139
0140 ldo5_reg: LDO5 {
0141 regulator-name = "vdd_ldo5";
0142 regulator-min-microvolt = <1620000>;
0143 regulator-max-microvolt = <1980000>;
0144 regulator-always-on;
0145 regulator-enable-ramp-delay = <125>;
0146 };
0147
0148 ldo6_reg: LDO6 {
0149 regulator-name = "vdd_ldo6";
0150 regulator-min-microvolt = <2250000>;
0151 regulator-max-microvolt = <3300000>;
0152 regulator-enable-ramp-delay = <125>;
0153 };
0154
0155 ldo7_reg: LDO7 {
0156 regulator-name = "vdd_ldo7";
0157 regulator-min-microvolt = <700000>;
0158 regulator-max-microvolt = <1150000>;
0159 regulator-enable-ramp-delay = <125>;
0160 regulator-always-on;
0161 };
0162
0163 ldo8_reg: LDO8 {
0164 regulator-name = "vdd_ldo8";
0165 regulator-min-microvolt = <700000>;
0166 regulator-max-microvolt = <1000000>;
0167 regulator-enable-ramp-delay = <125>;
0168 };
0169
0170 ldo9_reg: LDO9 {
0171 regulator-name = "vdd_ldo9";
0172 regulator-min-microvolt = <700000>;
0173 regulator-max-microvolt = <1000000>;
0174 regulator-enable-ramp-delay = <125>;
0175 };
0176
0177 ldo10_reg: LDO10 {
0178 regulator-name = "vdd_ldo10";
0179 regulator-min-microvolt = <700000>;
0180 regulator-max-microvolt = <1000000>;
0181 regulator-enable-ramp-delay = <125>;
0182 };
0183
0184 ldo11_reg: LDO11 {
0185 regulator-name = "vdd_ldo11";
0186 regulator-min-microvolt = <1000000>;
0187 regulator-max-microvolt = <1300000>;
0188 regulator-always-on;
0189 regulator-enable-ramp-delay = <125>;
0190 };
0191
0192 ldo12_reg: LDO12 {
0193 regulator-name = "vdd_ldo12";
0194 regulator-min-microvolt = <1000000>;
0195 regulator-max-microvolt = <1300000>;
0196 regulator-enable-ramp-delay = <125>;
0197 regulator-always-on;
0198 };
0199
0200 ldo13_reg: LDO13 {
0201 regulator-name = "vdd_ldo13";
0202 regulator-min-microvolt = <1000000>;
0203 regulator-max-microvolt = <1300000>;
0204 regulator-always-on;
0205 regulator-enable-ramp-delay = <125>;
0206 };
0207
0208 ldo14_reg: LDO14 {
0209 regulator-name = "vdd_ldo14";
0210 regulator-min-microvolt = <1800000>;
0211 regulator-max-microvolt = <3375000>;
0212 regulator-enable-ramp-delay = <125>;
0213 };
0214
0215 ldo17_reg: LDO17 {
0216 regulator-name = "vmmc-sdcard";
0217 regulator-min-microvolt = <1800000>;
0218 regulator-max-microvolt = <3375000>;
0219 regulator-enable-ramp-delay = <125>;
0220 };
0221
0222 ldo18_reg: LDO18 {
0223 regulator-name = "vdd_ldo18";
0224 regulator-min-microvolt = <1500000>;
0225 regulator-max-microvolt = <2275000>;
0226 regulator-enable-ramp-delay = <125>;
0227 };
0228
0229 ldo19_reg: LDO19 {
0230 regulator-name = "vdd_ldo19";
0231 regulator-min-microvolt = <1800000>;
0232 regulator-max-microvolt = <3375000>;
0233 regulator-enable-ramp-delay = <125>;
0234 };
0235
0236 ldo21_reg: LDO21 {
0237 regulator-name = "vdd_ldo21";
0238 regulator-min-microvolt = <1800000>;
0239 regulator-max-microvolt = <3375000>;
0240 regulator-enable-ramp-delay = <125>;
0241 };
0242
0243 ldo23_reg: LDO23 {
0244 regulator-name = "vdd_ldo23";
0245 regulator-min-microvolt = <1500000>;
0246 regulator-max-microvolt = <2275000>;
0247 regulator-enable-ramp-delay = <125>;
0248 };
0249
0250 ldo25_reg: LDO25 {
0251 regulator-name = "vdd_ldo25";
0252 regulator-min-microvolt = <1800000>;
0253 regulator-max-microvolt = <3375000>;
0254 regulator-enable-ramp-delay = <125>;
0255 };
0256
0257 ldo26_reg: LDO26 {
0258 regulator-name = "vdd_ldo26";
0259 regulator-min-microvolt = <700000>;
0260 regulator-max-microvolt = <1470000>;
0261 regulator-enable-ramp-delay = <125>;
0262 };
0263
0264 ldo27_reg: LDO27 {
0265 regulator-name = "vdd_ldo27";
0266 regulator-min-microvolt = <1500000>;
0267 regulator-max-microvolt = <2275000>;
0268 regulator-enable-ramp-delay = <125>;
0269 };
0270
0271 buck1_reg: BUCK1 {
0272 regulator-name = "vdd_mif";
0273 regulator-min-microvolt = <500000>;
0274 regulator-max-microvolt = <1200000>;
0275 regulator-always-on;
0276 regulator-boot-on;
0277 regulator-ramp-delay = <25000>;
0278 regulator-enable-ramp-delay = <250>;
0279 };
0280
0281 buck2_reg: BUCK2 {
0282 regulator-name = "vdd_atlas";
0283 regulator-min-microvolt = <500000>;
0284 regulator-max-microvolt = <1200000>;
0285 regulator-always-on;
0286 regulator-boot-on;
0287 regulator-ramp-delay = <12500>;
0288 regulator-enable-ramp-delay = <250>;
0289 };
0290
0291 buck4_reg: BUCK4 {
0292 regulator-name = "vdd_int";
0293 regulator-min-microvolt = <500000>;
0294 regulator-max-microvolt = <1200000>;
0295 regulator-always-on;
0296 regulator-boot-on;
0297 regulator-ramp-delay = <12500>;
0298 regulator-enable-ramp-delay = <250>;
0299 };
0300
0301 buck5_reg: BUCK5 {
0302 regulator-name = "vdd_buck5";
0303 regulator-min-microvolt = <500000>;
0304 regulator-max-microvolt = <1300000>;
0305 regulator-ramp-delay = <25000>;
0306 regulator-enable-ramp-delay = <250>;
0307 };
0308
0309 buck6_reg: BUCK6 {
0310 regulator-name = "vdd_g3d";
0311 regulator-min-microvolt = <500000>;
0312 regulator-max-microvolt = <1400000>;
0313 regulator-ramp-delay = <12500>;
0314 regulator-enable-ramp-delay = <250>;
0315 };
0316
0317 buck7_reg: BUCK7 {
0318 regulator-name = "vdd_buck7";
0319 regulator-min-microvolt = <1000000>;
0320 regulator-max-microvolt = <1500000>;
0321 regulator-always-on;
0322 regulator-ramp-delay = <25000>;
0323 regulator-enable-ramp-delay = <250>;
0324 };
0325
0326 buck8_reg: BUCK8 {
0327 regulator-name = "vdd_buck8";
0328 regulator-min-microvolt = <1000000>;
0329 regulator-max-microvolt = <1500000>;
0330 regulator-always-on;
0331 regulator-ramp-delay = <25000>;
0332 regulator-enable-ramp-delay = <250>;
0333 };
0334
0335 buck9_reg: BUCK9 {
0336 regulator-name = "vdd_buck9";
0337 regulator-min-microvolt = <1800000>;
0338 regulator-max-microvolt = <2100000>;
0339 regulator-always-on;
0340 regulator-ramp-delay = <25000>;
0341 regulator-enable-ramp-delay = <250>;
0342 };
0343
0344 buck10_reg: BUCK10 {
0345 regulator-name = "vdd_buck10";
0346 regulator-min-microvolt = <1000000>;
0347 regulator-max-microvolt = <3000000>;
0348 regulator-always-on;
0349 regulator-ramp-delay = <25000>;
0350 regulator-enable-ramp-delay = <250>;
0351 };
0352 };
0353 };
0354 };
0355
0356 &pinctrl_alive {
0357 pmic_irq: pmic-irq-pins {
0358 samsung,pins = "gpa0-2";
0359 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
0360 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV4>;
0361 };
0362 };
0363
0364 &mmc_0 {
0365 status = "okay";
0366 cap-mmc-highspeed;
0367 mmc-hs200-1_8v;
0368 non-removable;
0369 card-detect-delay = <200>;
0370 clock-frequency = <800000000>;
0371 samsung,dw-mshc-ciu-div = <3>;
0372 samsung,dw-mshc-sdr-timing = <0 4>;
0373 samsung,dw-mshc-ddr-timing = <0 2>;
0374 pinctrl-names = "default";
0375 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_qrdy &sd0_bus1 &sd0_bus4 &sd0_bus8>;
0376 bus-width = <8>;
0377 };
0378
0379 &mmc_2 {
0380 status = "okay";
0381 cap-sd-highspeed;
0382 card-detect-delay = <200>;
0383 clock-frequency = <400000000>;
0384 samsung,dw-mshc-ciu-div = <3>;
0385 samsung,dw-mshc-sdr-timing = <2 3>;
0386 samsung,dw-mshc-ddr-timing = <1 2>;
0387 pinctrl-names = "default";
0388 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
0389 bus-width = <4>;
0390 vmmc-supply = <&ldo17_reg>;
0391 vqmmc-supply = <&ldo2_reg>;
0392 disable-wp;
0393 };
0394
0395 &pinctrl_bus1 {
0396 usb30_vbus_en: usb30-vbus-en-pins {
0397 samsung,pins = "gph1-1";
0398 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0399 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0400 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
0401 };
0402
0403 usb3drd_boost_en: usb3drd-boost-en-pins {
0404 samsung,pins = "gpf4-1";
0405 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
0406 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0407 samsung,pin-drv = <EXYNOS7_PIN_DRV_LV1>;
0408 };
0409 };
0410
0411 &ufs {
0412 status = "okay";
0413 };
0414
0415 &usbdrd {
0416 vdd10-supply = <&ldo4_reg>;
0417 vdd33-supply = <&ldo6_reg>;
0418 };
0419
0420 &usbdrd_phy {
0421 vbus-supply = <&usb30_vbus_reg>;
0422 vbus-boost-supply = <&usb3drd_boost_5v>;
0423 };