xref: /linux/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
145fef752SKrzysztof Kozlowski// SPDX-License-Identifier: GPL-2.0
28ac46fc5SChanwoo Choi/*
3b0e55fefSKrzysztof Kozlowski * Samsung Exynos5433 TM2E board device tree source
48ac46fc5SChanwoo Choi *
58ac46fc5SChanwoo Choi * Copyright (c) 2016 Samsung Electronics Co., Ltd.
68ac46fc5SChanwoo Choi *
78ac46fc5SChanwoo Choi * Device tree source file for Samsung's TM2E(TM2 EDGE) board which is based on
88ac46fc5SChanwoo Choi * Samsung Exynos5433 SoC.
98ac46fc5SChanwoo Choi */
108ac46fc5SChanwoo Choi
1183089bb9SAndi Shyti#include "exynos5433-tm2-common.dtsi"
128ac46fc5SChanwoo Choi
138ac46fc5SChanwoo Choi/ {
148ac46fc5SChanwoo Choi	model = "Samsung TM2E board";
158ac46fc5SChanwoo Choi	compatible = "samsung,tm2e", "samsung,exynos5433";
16*4b1a7833SKrzysztof Kozlowski	chassis-type = "handset";
178ac46fc5SChanwoo Choi};
188ac46fc5SChanwoo Choi
19d1160ebfSMarek Szyprowski&cmu_disp {
20d1160ebfSMarek Szyprowski	/*
21d1160ebfSMarek Szyprowski	 * TM2 and TM2e differ only by DISP_PLL rate, but define all assigned
22d1160ebfSMarek Szyprowski	 * clocks properties for DISP CMU for each board to keep them together
23d1160ebfSMarek Szyprowski	 * for easier review and maintenance.
24d1160ebfSMarek Szyprowski	 */
25d1160ebfSMarek Szyprowski	assigned-clocks = <&cmu_disp CLK_FOUT_DISP_PLL>,
26d1160ebfSMarek Szyprowski			  <&cmu_mif CLK_DIV_SCLK_DECON_TV_ECLK>,
27d1160ebfSMarek Szyprowski			  <&cmu_disp CLK_MOUT_ACLK_DISP_333_USER>,
28d1160ebfSMarek Szyprowski			  <&cmu_disp CLK_MOUT_SCLK_DSIM0_USER>,
29d1160ebfSMarek Szyprowski			  <&cmu_disp CLK_MOUT_SCLK_DSIM0>,
30d1160ebfSMarek Szyprowski			  <&cmu_disp CLK_MOUT_SCLK_DECON_ECLK_USER>,
31d1160ebfSMarek Szyprowski			  <&cmu_disp CLK_MOUT_SCLK_DECON_ECLK>,
32d1160ebfSMarek Szyprowski			  <&cmu_disp CLK_MOUT_PHYCLK_MIPIDPHY0_RXCLKESC0_USER>,
33d1160ebfSMarek Szyprowski			  <&cmu_disp CLK_MOUT_PHYCLK_MIPIDPHY0_BITCLKDIV8_USER>,
34d1160ebfSMarek Szyprowski			  <&cmu_disp CLK_MOUT_DISP_PLL>,
35d1160ebfSMarek Szyprowski			  <&cmu_mif CLK_MOUT_SCLK_DECON_TV_ECLK_A>,
36d1160ebfSMarek Szyprowski			  <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK_USER>,
37d1160ebfSMarek Szyprowski			  <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK>;
38d1160ebfSMarek Szyprowski	assigned-clock-parents = <0>, <0>,
39d1160ebfSMarek Szyprowski				 <&cmu_mif CLK_ACLK_DISP_333>,
40d1160ebfSMarek Szyprowski				 <&cmu_mif CLK_SCLK_DSIM0_DISP>,
41d1160ebfSMarek Szyprowski				 <&cmu_disp CLK_MOUT_SCLK_DSIM0_USER>,
42d1160ebfSMarek Szyprowski				 <&cmu_mif CLK_SCLK_DECON_ECLK_DISP>,
43d1160ebfSMarek Szyprowski				 <&cmu_disp CLK_MOUT_SCLK_DECON_ECLK_USER>,
44d1160ebfSMarek Szyprowski				 <&cmu_disp CLK_PHYCLK_MIPIDPHY0_RXCLKESC0_PHY>,
45d1160ebfSMarek Szyprowski				 <&cmu_disp CLK_PHYCLK_MIPIDPHY0_BITCLKDIV8_PHY>,
46d1160ebfSMarek Szyprowski				 <&cmu_disp CLK_FOUT_DISP_PLL>,
47d1160ebfSMarek Szyprowski				 <&cmu_mif CLK_MOUT_BUS_PLL_DIV2>,
48d1160ebfSMarek Szyprowski				 <&cmu_mif CLK_SCLK_DECON_TV_ECLK_DISP>,
49d1160ebfSMarek Szyprowski				 <&cmu_disp CLK_MOUT_SCLK_DECON_TV_ECLK_USER>;
50d1160ebfSMarek Szyprowski	assigned-clock-rates = <278000000>, <400000000>;
51d1160ebfSMarek Szyprowski};
52d1160ebfSMarek Szyprowski
536a611d14SViresh Kumar&dsi {
546a611d14SViresh Kumar	panel@0 {
556a611d14SViresh Kumar		compatible = "samsung,s6e3hf2";
566a611d14SViresh Kumar		reg = <0>;
576a611d14SViresh Kumar		vdd3-supply = <&ldo27_reg>;
586a611d14SViresh Kumar		vci-supply = <&ldo28_reg>;
596a611d14SViresh Kumar		reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
606a611d14SViresh Kumar		enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
616a611d14SViresh Kumar	};
626a611d14SViresh Kumar};
636a611d14SViresh Kumar
648ac46fc5SChanwoo Choi&ldo31_reg {
658ac46fc5SChanwoo Choi	regulator-name = "TSP_VDD_1.8V_AP";
668ac46fc5SChanwoo Choi	regulator-min-microvolt = <1800000>;
678ac46fc5SChanwoo Choi	regulator-max-microvolt = <1800000>;
688ac46fc5SChanwoo Choi};
698ac46fc5SChanwoo Choi
708ac46fc5SChanwoo Choi&ldo38_reg {
718ac46fc5SChanwoo Choi	regulator-name = "VCC_3.3V_MOTOR_AP";
728ac46fc5SChanwoo Choi	regulator-min-microvolt = <3300000>;
738ac46fc5SChanwoo Choi	regulator-max-microvolt = <3300000>;
748ac46fc5SChanwoo Choi};
756a611d14SViresh Kumar
766a611d14SViresh Kumar&stmfts {
776a611d14SViresh Kumar	touchscreen-size-x = <1599>;
786a611d14SViresh Kumar	touchscreen-size-y = <2559>;
796a611d14SViresh Kumar	touch-key-connected;
806a611d14SViresh Kumar	ledvdd-supply = <&ldo33_reg>;
816a611d14SViresh Kumar};
82