Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for UniPhier PH1-LD4 SoC |
| 3 | * |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 4 | * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 5 | * |
Masahiro Yamada | 7bfb0a2 | 2015-06-30 18:27:01 +0900 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ X11 |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 7 | */ |
| 8 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 9 | /include/ "uniphier-common32.dtsi" |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 10 | |
| 11 | / { |
Masahiro Yamada | d5f83a4 | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 12 | compatible = "socionext,ph1-ld4"; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 13 | |
| 14 | cpus { |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 15 | #address-cells = <1>; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 16 | #size-cells = <0>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 17 | |
| 18 | cpu@0 { |
| 19 | device_type = "cpu"; |
| 20 | compatible = "arm,cortex-a9"; |
| 21 | reg = <0>; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 22 | next-level-cache = <&l2>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 23 | }; |
| 24 | }; |
| 25 | |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 26 | clocks { |
| 27 | arm_timer_clk: arm_timer_clk { |
| 28 | #clock-cells = <0>; |
| 29 | compatible = "fixed-clock"; |
| 30 | clock-frequency = <50000000>; |
| 31 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 32 | |
| 33 | uart_clk: uart_clk { |
| 34 | #clock-cells = <0>; |
| 35 | compatible = "fixed-clock"; |
| 36 | clock-frequency = <36864000>; |
| 37 | }; |
| 38 | |
| 39 | iobus_clk: iobus_clk { |
| 40 | #clock-cells = <0>; |
| 41 | compatible = "fixed-clock"; |
| 42 | clock-frequency = <100000000>; |
| 43 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 44 | }; |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 45 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 46 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 47 | &soc { |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 48 | l2: l2-cache@500c0000 { |
| 49 | compatible = "socionext,uniphier-system-cache"; |
| 50 | reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, <0x506c0000 0x400>; |
| 51 | interrupts = <0 174 4>, <0 175 4>; |
| 52 | cache-unified; |
| 53 | cache-size = <(512 * 1024)>; |
| 54 | cache-sets = <256>; |
| 55 | cache-line-size = <128>; |
| 56 | cache-level = <2>; |
| 57 | }; |
| 58 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 59 | i2c0: i2c@58400000 { |
| 60 | compatible = "socionext,uniphier-i2c"; |
| 61 | status = "disabled"; |
| 62 | reg = <0x58400000 0x40>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 63 | #address-cells = <1>; |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 64 | #size-cells = <0>; |
| 65 | interrupts = <0 41 1>; |
| 66 | pinctrl-names = "default"; |
| 67 | pinctrl-0 = <&pinctrl_i2c0>; |
| 68 | clocks = <&iobus_clk>; |
| 69 | clock-frequency = <100000>; |
| 70 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 71 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 72 | i2c1: i2c@58480000 { |
| 73 | compatible = "socionext,uniphier-i2c"; |
| 74 | status = "disabled"; |
| 75 | reg = <0x58480000 0x40>; |
| 76 | #address-cells = <1>; |
| 77 | #size-cells = <0>; |
| 78 | interrupts = <0 42 1>; |
| 79 | pinctrl-names = "default"; |
| 80 | pinctrl-0 = <&pinctrl_i2c1>; |
| 81 | clocks = <&iobus_clk>; |
| 82 | clock-frequency = <100000>; |
| 83 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 84 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 85 | /* chip-internal connection for DMD */ |
| 86 | i2c2: i2c@58500000 { |
| 87 | compatible = "socionext,uniphier-i2c"; |
| 88 | reg = <0x58500000 0x40>; |
| 89 | #address-cells = <1>; |
| 90 | #size-cells = <0>; |
| 91 | interrupts = <0 43 1>; |
| 92 | pinctrl-names = "default"; |
| 93 | pinctrl-0 = <&pinctrl_i2c2>; |
| 94 | clocks = <&iobus_clk>; |
| 95 | clock-frequency = <400000>; |
| 96 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 97 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 98 | i2c3: i2c@58580000 { |
| 99 | compatible = "socionext,uniphier-i2c"; |
| 100 | status = "disabled"; |
| 101 | reg = <0x58580000 0x40>; |
| 102 | #address-cells = <1>; |
| 103 | #size-cells = <0>; |
| 104 | interrupts = <0 44 1>; |
| 105 | pinctrl-names = "default"; |
| 106 | pinctrl-0 = <&pinctrl_i2c3>; |
| 107 | clocks = <&iobus_clk>; |
| 108 | clock-frequency = <100000>; |
| 109 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 110 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 111 | usb0: usb@5a800100 { |
| 112 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 113 | status = "disabled"; |
| 114 | reg = <0x5a800100 0x100>; |
| 115 | interrupts = <0 80 4>; |
| 116 | pinctrl-names = "default"; |
| 117 | pinctrl-0 = <&pinctrl_usb0>; |
| 118 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 119 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 120 | usb1: usb@5a810100 { |
| 121 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 122 | status = "disabled"; |
| 123 | reg = <0x5a810100 0x100>; |
| 124 | interrupts = <0 81 4>; |
| 125 | pinctrl-names = "default"; |
| 126 | pinctrl-0 = <&pinctrl_usb1>; |
| 127 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 128 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 129 | usb2: usb@5a820100 { |
| 130 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 131 | status = "disabled"; |
| 132 | reg = <0x5a820100 0x100>; |
| 133 | interrupts = <0 82 4>; |
| 134 | pinctrl-names = "default"; |
| 135 | pinctrl-0 = <&pinctrl_usb2>; |
| 136 | }; |
| 137 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 138 | |
Masahiro Yamada | 224e2f7 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 139 | &refclk { |
| 140 | clock-frequency = <24576000>; |
| 141 | }; |
| 142 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 143 | &serial0 { |
| 144 | clock-frequency = <36864000>; |
| 145 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 146 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 147 | &serial1 { |
| 148 | clock-frequency = <36864000>; |
| 149 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 150 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 151 | &serial2 { |
| 152 | clock-frequency = <36864000>; |
| 153 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 154 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 155 | &serial3 { |
| 156 | interrupts = <0 29 4>; |
| 157 | clock-frequency = <36864000>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 158 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 159 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 160 | &pinctrl { |
| 161 | compatible = "socionext,ph1-ld4-pinctrl", "syscon"; |
| 162 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame^] | 163 | |
| 164 | &sysctrl { |
| 165 | compatible = "socionext,ph1-ld4-sysctrl"; |
| 166 | }; |