1/*
2 * SAMSUNG Exynos5433 TM2E board device tree source
3 *
4 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
5 *
6 * Device tree source file for Samsung's TM2E(TM2 EDGE) board which is based on
7 * Samsung Exynos5433 SoC.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */
13
14#include "exynos5433-tm2-common.dtsi"
15
16/ {
17	model = "Samsung TM2E board";
18	compatible = "samsung,tm2e", "samsung,exynos5433";
19};
20
21&cmu_disp {
22	/*
23	 * TM2 and TM2e differ only by DISP_PLL rate, but define all assigned
24	 * clocks properties for DISP CMU for each board to keep them together
25	 * for easier review and maintenance.
26	 */
27	assigned-clocks = <&cmu_disp CLK_FOUT_DISP_PLL>,
28			  <&cmu_mif CLK_DIV_SCLK_DECON_TV_ECLK>,
29			  <&cmu_disp CLK_MOUT_ACLK_DISP_333_USER>,
30			  <&cmu_disp CLK_MOUT_SCLK_DSIM0_USER>,
31			  <&cmu_disp CLK_MOUT_SCLK_DSIM0>,
32			  <&cmu_disp CLK_MOUT_SCLK_DECON_ECLK_USER>,
33			  <&cmu_disp CLK_MOUT_SCLK_DECON_ECLK>,
34			  <&cmu_disp CLK_MOUT_PHYCLK_MIPIDPHY0_RXCLKESC0_USER>,
35			  <&cmu_disp CLK_MOUT_PHYCLK_MIPIDPHY0_BITCLKDIV8_USER>,
36			  <&cmu_disp CLK_MOUT_DISP_PLL>,
37			  <&cmu_mif CLK_MOUT_SCLK_DECON_TV_ECLK_A>,
38			  <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK_USER>,
39			  <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK>;
40	assigned-clock-parents = <0>, <0>,
41				 <&cmu_mif CLK_ACLK_DISP_333>,
42				 <&cmu_mif CLK_SCLK_DSIM0_DISP>,
43				 <&cmu_disp CLK_MOUT_SCLK_DSIM0_USER>,
44				 <&cmu_mif CLK_SCLK_DECON_ECLK_DISP>,
45				 <&cmu_disp CLK_MOUT_SCLK_DECON_ECLK_USER>,
46				 <&cmu_disp CLK_PHYCLK_MIPIDPHY0_RXCLKESC0_PHY>,
47				 <&cmu_disp CLK_PHYCLK_MIPIDPHY0_BITCLKDIV8_PHY>,
48				 <&cmu_disp CLK_FOUT_DISP_PLL>,
49				 <&cmu_mif CLK_MOUT_BUS_PLL_DIV2>,
50				 <&cmu_mif CLK_SCLK_DECON_TV_ECLK_DISP>,
51				 <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK_USER>;
52	assigned-clock-rates = <278000000>, <400000000>;
53};
54
55&dsi {
56	panel@0 {
57		compatible = "samsung,s6e3hf2";
58		reg = <0>;
59		vdd3-supply = <&ldo27_reg>;
60		vci-supply = <&ldo28_reg>;
61		reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
62		enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
63	};
64};
65
66&ldo31_reg {
67	regulator-name = "TSP_VDD_1.8V_AP";
68	regulator-min-microvolt = <1800000>;
69	regulator-max-microvolt = <1800000>;
70};
71
72&ldo38_reg {
73	regulator-name = "VCC_3.3V_MOTOR_AP";
74	regulator-min-microvolt = <3300000>;
75	regulator-max-microvolt = <3300000>;
76};
77
78&stmfts {
79	touchscreen-size-x = <1599>;
80	touchscreen-size-y = <2559>;
81	touch-key-connected;
82	ledvdd-supply = <&ldo33_reg>;
83};
84