Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source commonly used by UniPhier ARM SoCs |
| 3 | * |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 4 | * Copyright (C) 2015-2016 Socionext Inc. |
| 5 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 6 | * |
| 7 | * SPDX-License-Identifier: GPL-2.0+ X11 |
| 8 | */ |
| 9 | |
| 10 | /include/ "skeleton.dtsi" |
| 11 | |
| 12 | / { |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 13 | psci { |
| 14 | compatible = "arm,psci-0.2"; |
| 15 | method = "smc"; |
| 16 | }; |
| 17 | |
Masahiro Yamada | cc33609 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 18 | clocks { |
| 19 | refclk: ref { |
| 20 | #clock-cells = <0>; |
| 21 | compatible = "fixed-clock"; |
| 22 | }; |
| 23 | }; |
| 24 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 25 | soc: soc { |
| 26 | compatible = "simple-bus"; |
| 27 | #address-cells = <1>; |
| 28 | #size-cells = <1>; |
| 29 | ranges; |
| 30 | interrupt-parent = <&intc>; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 31 | u-boot,dm-pre-reloc; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 32 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 33 | serial0: serial@54006800 { |
| 34 | compatible = "socionext,uniphier-uart"; |
| 35 | status = "disabled"; |
| 36 | reg = <0x54006800 0x40>; |
| 37 | interrupts = <0 33 4>; |
| 38 | pinctrl-names = "default"; |
| 39 | pinctrl-0 = <&pinctrl_uart0>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 40 | clocks = <&peri_clk 0>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 41 | }; |
| 42 | |
| 43 | serial1: serial@54006900 { |
| 44 | compatible = "socionext,uniphier-uart"; |
| 45 | status = "disabled"; |
| 46 | reg = <0x54006900 0x40>; |
| 47 | interrupts = <0 35 4>; |
| 48 | pinctrl-names = "default"; |
| 49 | pinctrl-0 = <&pinctrl_uart1>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 50 | clocks = <&peri_clk 1>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 51 | }; |
| 52 | |
| 53 | serial2: serial@54006a00 { |
| 54 | compatible = "socionext,uniphier-uart"; |
| 55 | status = "disabled"; |
| 56 | reg = <0x54006a00 0x40>; |
| 57 | interrupts = <0 37 4>; |
| 58 | pinctrl-names = "default"; |
| 59 | pinctrl-0 = <&pinctrl_uart2>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 60 | clocks = <&peri_clk 2>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 61 | }; |
| 62 | |
| 63 | serial3: serial@54006b00 { |
| 64 | compatible = "socionext,uniphier-uart"; |
| 65 | status = "disabled"; |
| 66 | reg = <0x54006b00 0x40>; |
| 67 | interrupts = <0 177 4>; |
| 68 | pinctrl-names = "default"; |
| 69 | pinctrl-0 = <&pinctrl_uart3>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 70 | clocks = <&peri_clk 3>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 71 | }; |
| 72 | |
Masahiro Yamada | 0f5fb8c | 2016-02-16 17:00:22 +0900 | [diff] [blame] | 73 | system_bus: system-bus@58c00000 { |
| 74 | compatible = "socionext,uniphier-system-bus"; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 75 | status = "disabled"; |
Masahiro Yamada | 0f5fb8c | 2016-02-16 17:00:22 +0900 | [diff] [blame] | 76 | reg = <0x58c00000 0x400>; |
| 77 | #address-cells = <2>; |
| 78 | #size-cells = <1>; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 79 | pinctrl-names = "default"; |
| 80 | pinctrl-0 = <&pinctrl_system_bus>; |
Masahiro Yamada | 0f5fb8c | 2016-02-16 17:00:22 +0900 | [diff] [blame] | 81 | }; |
| 82 | |
| 83 | smpctrl@59800000 { |
| 84 | compatible = "socionext,uniphier-smpctrl"; |
| 85 | reg = <0x59801000 0x400>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 86 | }; |
| 87 | |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 88 | mioctrl@59810000 { |
| 89 | compatible = "socionext,uniphier-mioctrl", |
| 90 | "simple-mfd", "syscon"; |
Masahiro Yamada | aa37aba | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 91 | reg = <0x59810000 0x800>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 92 | u-boot,dm-pre-reloc; |
| 93 | |
| 94 | mio_clk: clock { |
| 95 | #clock-cells = <1>; |
| 96 | }; |
| 97 | |
| 98 | mio_rst: reset { |
| 99 | #reset-cells = <1>; |
| 100 | }; |
Masahiro Yamada | aa37aba | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 101 | }; |
| 102 | |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 103 | perictrl@59820000 { |
| 104 | compatible = "socionext,uniphier-perictrl", |
| 105 | "simple-mfd", "syscon"; |
Masahiro Yamada | 9fbb2f7 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 106 | reg = <0x59820000 0x200>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 107 | |
| 108 | peri_clk: clock { |
| 109 | #clock-cells = <1>; |
| 110 | }; |
| 111 | |
| 112 | peri_rst: reset { |
| 113 | #reset-cells = <1>; |
| 114 | }; |
Masahiro Yamada | 9fbb2f7 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 115 | }; |
| 116 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 117 | timer@60000200 { |
| 118 | compatible = "arm,cortex-a9-global-timer"; |
| 119 | reg = <0x60000200 0x20>; |
| 120 | interrupts = <1 11 0x104>; |
| 121 | clocks = <&arm_timer_clk>; |
| 122 | }; |
| 123 | |
| 124 | timer@60000600 { |
| 125 | compatible = "arm,cortex-a9-twd-timer"; |
| 126 | reg = <0x60000600 0x20>; |
| 127 | interrupts = <1 13 0x104>; |
| 128 | clocks = <&arm_timer_clk>; |
| 129 | }; |
| 130 | |
| 131 | intc: interrupt-controller@60001000 { |
| 132 | compatible = "arm,cortex-a9-gic"; |
| 133 | reg = <0x60001000 0x1000>, |
| 134 | <0x60000100 0x100>; |
| 135 | #interrupt-cells = <3>; |
| 136 | interrupt-controller; |
| 137 | }; |
| 138 | |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 139 | soc-glue@5f800000 { |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 140 | compatible = "socionext,uniphier-soc-glue", |
| 141 | "simple-mfd", "syscon"; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 142 | reg = <0x5f800000 0x2000>; |
| 143 | u-boot,dm-pre-reloc; |
| 144 | |
| 145 | pinctrl: pinctrl { |
| 146 | /* specify compatible in each SoC DTSI */ |
| 147 | u-boot,dm-pre-reloc; |
| 148 | }; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 149 | }; |
| 150 | |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 151 | sysctrl@61840000 { |
| 152 | compatible = "socionext,uniphier-sysctrl", |
| 153 | "simple-mfd", "syscon"; |
Masahiro Yamada | 233812a | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 154 | reg = <0x61840000 0x4000>; |
Masahiro Yamada | 35343a2 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 155 | |
| 156 | sys_clk: clock { |
| 157 | #clock-cells = <1>; |
| 158 | }; |
| 159 | |
| 160 | sys_rst: reset { |
| 161 | #reset-cells = <1>; |
| 162 | }; |
Masahiro Yamada | 233812a | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 163 | }; |
| 164 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 165 | nand: nand@68000000 { |
| 166 | compatible = "denali,denali-nand-dt"; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 167 | status = "disabled"; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 168 | reg-names = "nand_data", "denali_reg"; |
Masahiro Yamada | c4adc50 | 2016-06-29 19:38:56 +0900 | [diff] [blame] | 169 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 170 | interrupts = <0 65 4>; |
| 171 | pinctrl-names = "default"; |
| 172 | pinctrl-0 = <&pinctrl_nand>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 173 | }; |
| 174 | }; |
| 175 | }; |
| 176 | |
| 177 | /include/ "uniphier-pinctrl.dtsi" |