xref: /openbmc/u-boot/arch/arm/dts/exynos7420.dtsi (revision e8f80a5a)
1*83d290c5STom Rini// SPDX-License-Identifier: GPL-2.0+
2e39448e8SThomas Abraham/*
3e39448e8SThomas Abraham * Samsung Exynos7420 SoC device tree source
4e39448e8SThomas Abraham *
5e39448e8SThomas Abraham * Copyright (c) 2016 Samsung Electronics Co., Ltd.
6e39448e8SThomas Abraham *		http://www.samsung.com
7e39448e8SThomas Abraham */
8e39448e8SThomas Abraham
9e39448e8SThomas Abraham/dts-v1/;
10e39448e8SThomas Abraham#include "skeleton.dtsi"
11e39448e8SThomas Abraham#include <dt-bindings/clock/exynos7420-clk.h>
12e39448e8SThomas Abraham/ {
13e39448e8SThomas Abraham	compatible = "samsung,exynos7420";
14e39448e8SThomas Abraham
15e39448e8SThomas Abraham	fin_pll: xxti {
16e39448e8SThomas Abraham		compatible = "fixed-clock";
17e39448e8SThomas Abraham		clock-output-names = "fin_pll";
18e39448e8SThomas Abraham		u-boot,dm-pre-reloc;
19e39448e8SThomas Abraham		#clock-cells = <0>;
20e39448e8SThomas Abraham	};
21e39448e8SThomas Abraham
22e39448e8SThomas Abraham	clock_topc: clock-controller@10570000 {
23e39448e8SThomas Abraham		compatible = "samsung,exynos7-clock-topc";
24e39448e8SThomas Abraham		reg = <0x10570000 0x10000>;
25e39448e8SThomas Abraham		u-boot,dm-pre-reloc;
26e39448e8SThomas Abraham		#clock-cells = <1>;
27e39448e8SThomas Abraham		clocks = <&fin_pll>;
28e39448e8SThomas Abraham		clock-names = "fin_pll";
29e39448e8SThomas Abraham	};
30e39448e8SThomas Abraham
31e39448e8SThomas Abraham	clock_top0: clock-controller@105d0000 {
32e39448e8SThomas Abraham		compatible = "samsung,exynos7-clock-top0";
33e39448e8SThomas Abraham		reg = <0x105d0000 0xb000>;
34e39448e8SThomas Abraham		u-boot,dm-pre-reloc;
35e39448e8SThomas Abraham		#clock-cells = <1>;
36e39448e8SThomas Abraham		clocks = <&fin_pll>, <&clock_topc DOUT_SCLK_BUS0_PLL>,
37e39448e8SThomas Abraham			 <&clock_topc DOUT_SCLK_BUS1_PLL>,
38e39448e8SThomas Abraham			 <&clock_topc DOUT_SCLK_CC_PLL>,
39e39448e8SThomas Abraham			 <&clock_topc DOUT_SCLK_MFC_PLL>;
40e39448e8SThomas Abraham		clock-names = "fin_pll", "dout_sclk_bus0_pll",
41e39448e8SThomas Abraham			      "dout_sclk_bus1_pll", "dout_sclk_cc_pll",
42e39448e8SThomas Abraham			      "dout_sclk_mfc_pll";
43e39448e8SThomas Abraham	};
44e39448e8SThomas Abraham
45e39448e8SThomas Abraham	clock_peric1: clock-controller@14c80000 {
46e39448e8SThomas Abraham		compatible = "samsung,exynos7-clock-peric1";
47e39448e8SThomas Abraham		reg = <0x14c80000 0xd00>;
48e39448e8SThomas Abraham		u-boot,dm-pre-reloc;
49e39448e8SThomas Abraham		#clock-cells = <1>;
50e39448e8SThomas Abraham		clocks = <&fin_pll>, <&clock_top0 DOUT_ACLK_PERIC1>,
51e39448e8SThomas Abraham			 <&clock_top0 CLK_SCLK_UART1>,
52e39448e8SThomas Abraham			 <&clock_top0 CLK_SCLK_UART2>,
53e39448e8SThomas Abraham			 <&clock_top0 CLK_SCLK_UART3>;
54e39448e8SThomas Abraham		clock-names = "fin_pll", "dout_aclk_peric1_66",
55e39448e8SThomas Abraham			      "sclk_uart1", "sclk_uart2", "sclk_uart3";
56e39448e8SThomas Abraham	};
57e39448e8SThomas Abraham
58e39448e8SThomas Abraham	pinctrl@13470000 {
59e39448e8SThomas Abraham		compatible = "samsung,exynos7420-pinctrl";
60e39448e8SThomas Abraham		reg = <0x13470000 0x1000>;
61e39448e8SThomas Abraham		u-boot,dm-pre-reloc;
62e39448e8SThomas Abraham
63e39448e8SThomas Abraham		serial2_bus: serial2-bus {
64e39448e8SThomas Abraham			samsung,pins = "gpd1-4", "gpd1-5";
65e39448e8SThomas Abraham			samsung,pin-function = <2>;
66e39448e8SThomas Abraham			samsung,pin-pud = <3>;
67e39448e8SThomas Abraham			samsung,pin-drv = <0>;
68e39448e8SThomas Abraham			u-boot,dm-pre-reloc;
69e39448e8SThomas Abraham		};
70e39448e8SThomas Abraham	};
71e39448e8SThomas Abraham
72e39448e8SThomas Abraham	serial@14C30000 {
73e39448e8SThomas Abraham		compatible = "samsung,exynos4210-uart";
74e39448e8SThomas Abraham		reg = <0x14C30000 0x100>;
75e39448e8SThomas Abraham		u-boot,dm-pre-reloc;
76e39448e8SThomas Abraham		clocks = <&clock_peric1 PCLK_UART2>,
77e39448e8SThomas Abraham			 <&clock_peric1 SCLK_UART2>;
78e39448e8SThomas Abraham		clock-names = "uart", "clk_uart_baud0";
79e39448e8SThomas Abraham		pinctrl-names = "default";
80e39448e8SThomas Abraham		pinctrl-0 = <&serial2_bus>;
81e39448e8SThomas Abraham	};
82e39448e8SThomas Abraham};
83