ARM: dts: uniphier: add reference clock nodes
[oweals/u-boot.git] / arch / arm / dts / uniphier-common32.dtsi
1 /*
2  * Device Tree Source commonly used by UniPhier ARM SoCs
3  *
4  * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
5  *
6  * SPDX-License-Identifier:     GPL-2.0+        X11
7  */
8
9 /include/ "skeleton.dtsi"
10
11 / {
12         clocks {
13                 refclk: ref {
14                         #clock-cells = <0>;
15                         compatible = "fixed-clock";
16                 };
17         };
18
19         soc: soc {
20                 compatible = "simple-bus";
21                 #address-cells = <1>;
22                 #size-cells = <1>;
23                 ranges;
24                 interrupt-parent = <&intc>;
25
26                 extbus: extbus {
27                         compatible = "simple-bus";
28                         #address-cells = <2>;
29                         #size-cells = <1>;
30                 };
31
32                 serial0: serial@54006800 {
33                         compatible = "socionext,uniphier-uart";
34                         status = "disabled";
35                         reg = <0x54006800 0x40>;
36                         interrupts = <0 33 4>;
37                         pinctrl-names = "default";
38                         pinctrl-0 = <&pinctrl_uart0>;
39                         clocks = <&uart_clk>;
40                 };
41
42                 serial1: serial@54006900 {
43                         compatible = "socionext,uniphier-uart";
44                         status = "disabled";
45                         reg = <0x54006900 0x40>;
46                         interrupts = <0 35 4>;
47                         pinctrl-names = "default";
48                         pinctrl-0 = <&pinctrl_uart1>;
49                         clocks = <&uart_clk>;
50                 };
51
52                 serial2: serial@54006a00 {
53                         compatible = "socionext,uniphier-uart";
54                         status = "disabled";
55                         reg = <0x54006a00 0x40>;
56                         interrupts = <0 37 4>;
57                         pinctrl-names = "default";
58                         pinctrl-0 = <&pinctrl_uart2>;
59                         clocks = <&uart_clk>;
60                 };
61
62                 serial3: serial@54006b00 {
63                         compatible = "socionext,uniphier-uart";
64                         status = "disabled";
65                         reg = <0x54006b00 0x40>;
66                         interrupts = <0 177 4>;
67                         pinctrl-names = "default";
68                         pinctrl-0 = <&pinctrl_uart3>;
69                         clocks = <&uart_clk>;
70                 };
71
72                 system-bus-controller@58c00000 {
73                         compatible = "socionext,uniphier-system-bus-controller";
74                         reg = <0x58c00000 0x400>, <0x59800000 0x2000>;
75                 };
76
77                 timer@60000200 {
78                         compatible = "arm,cortex-a9-global-timer";
79                         reg = <0x60000200 0x20>;
80                         interrupts = <1 11 0x104>;
81                         clocks = <&arm_timer_clk>;
82                 };
83
84                 timer@60000600 {
85                         compatible = "arm,cortex-a9-twd-timer";
86                         reg = <0x60000600 0x20>;
87                         interrupts = <1 13 0x104>;
88                         clocks = <&arm_timer_clk>;
89                 };
90
91                 intc: interrupt-controller@60001000 {
92                         compatible = "arm,cortex-a9-gic";
93                         reg = <0x60001000 0x1000>,
94                               <0x60000100 0x100>;
95                         #interrupt-cells = <3>;
96                         interrupt-controller;
97                 };
98
99                 pinctrl: pinctrl@5f801000 {
100                         /* specify compatible in each SoC DTSI */
101                         reg = <0x5f801000 0xe00>;
102                 };
103
104                 nand: nand@68000000 {
105                         compatible = "denali,denali-nand-dt";
106                         reg = <0x68000000 0x20>, <0x68100000 0x1000>;
107                         reg-names = "nand_data", "denali_reg";
108                 };
109         };
110 };
111
112 /include/ "uniphier-pinctrl.dtsi"