Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for UniPhier ProXstream2 SoC |
| 3 | * |
| 4 | * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> |
| 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0+ X11 |
| 7 | */ |
| 8 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 9 | /include/ "uniphier-common32.dtsi" |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 10 | |
| 11 | / { |
| 12 | compatible = "socionext,proxstream2"; |
| 13 | |
| 14 | cpus { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <0>; |
| 17 | enable-method = "socionext,uniphier-smp"; |
| 18 | |
| 19 | cpu@0 { |
| 20 | device_type = "cpu"; |
| 21 | compatible = "arm,cortex-a9"; |
| 22 | reg = <0>; |
| 23 | }; |
| 24 | |
| 25 | cpu@1 { |
| 26 | device_type = "cpu"; |
| 27 | compatible = "arm,cortex-a9"; |
| 28 | reg = <1>; |
| 29 | }; |
| 30 | |
| 31 | cpu@2 { |
| 32 | device_type = "cpu"; |
| 33 | compatible = "arm,cortex-a9"; |
| 34 | reg = <2>; |
| 35 | }; |
| 36 | |
| 37 | cpu@3 { |
| 38 | device_type = "cpu"; |
| 39 | compatible = "arm,cortex-a9"; |
| 40 | reg = <3>; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | clocks { |
| 45 | arm_timer_clk: arm_timer_clk { |
| 46 | #clock-cells = <0>; |
| 47 | compatible = "fixed-clock"; |
| 48 | clock-frequency = <50000000>; |
| 49 | }; |
| 50 | |
| 51 | uart_clk: uart_clk { |
| 52 | #clock-cells = <0>; |
| 53 | compatible = "fixed-clock"; |
| 54 | clock-frequency = <88900000>; |
| 55 | }; |
| 56 | |
| 57 | i2c_clk: i2c_clk { |
| 58 | #clock-cells = <0>; |
| 59 | compatible = "fixed-clock"; |
| 60 | clock-frequency = <50000000>; |
| 61 | }; |
| 62 | }; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 63 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 64 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 65 | &soc { |
| 66 | i2c0: i2c@58780000 { |
| 67 | compatible = "socionext,uniphier-fi2c"; |
| 68 | status = "disabled"; |
| 69 | reg = <0x58780000 0x80>; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 70 | #address-cells = <1>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 71 | #size-cells = <0>; |
| 72 | interrupts = <0 41 4>; |
| 73 | pinctrl-names = "default"; |
| 74 | pinctrl-0 = <&pinctrl_i2c0>; |
| 75 | clocks = <&i2c_clk>; |
| 76 | clock-frequency = <100000>; |
| 77 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 78 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 79 | i2c1: i2c@58781000 { |
| 80 | compatible = "socionext,uniphier-fi2c"; |
| 81 | status = "disabled"; |
| 82 | reg = <0x58781000 0x80>; |
| 83 | #address-cells = <1>; |
| 84 | #size-cells = <0>; |
| 85 | interrupts = <0 42 4>; |
| 86 | pinctrl-names = "default"; |
| 87 | pinctrl-0 = <&pinctrl_i2c1>; |
| 88 | clocks = <&i2c_clk>; |
| 89 | clock-frequency = <100000>; |
| 90 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 91 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 92 | i2c2: i2c@58782000 { |
| 93 | compatible = "socionext,uniphier-fi2c"; |
| 94 | status = "disabled"; |
| 95 | reg = <0x58782000 0x80>; |
| 96 | #address-cells = <1>; |
| 97 | #size-cells = <0>; |
| 98 | pinctrl-names = "default"; |
| 99 | pinctrl-0 = <&pinctrl_i2c2>; |
| 100 | interrupts = <0 43 4>; |
| 101 | clocks = <&i2c_clk>; |
| 102 | clock-frequency = <100000>; |
| 103 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 104 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 105 | i2c3: i2c@58783000 { |
| 106 | compatible = "socionext,uniphier-fi2c"; |
| 107 | status = "disabled"; |
| 108 | reg = <0x58783000 0x80>; |
| 109 | #address-cells = <1>; |
| 110 | #size-cells = <0>; |
| 111 | interrupts = <0 44 4>; |
| 112 | pinctrl-names = "default"; |
| 113 | pinctrl-0 = <&pinctrl_i2c3>; |
| 114 | clocks = <&i2c_clk>; |
| 115 | clock-frequency = <100000>; |
| 116 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 117 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 118 | /* chip-internal connection for DMD */ |
| 119 | i2c4: i2c@58784000 { |
| 120 | compatible = "socionext,uniphier-fi2c"; |
| 121 | reg = <0x58784000 0x80>; |
| 122 | #address-cells = <1>; |
| 123 | #size-cells = <0>; |
| 124 | interrupts = <0 45 4>; |
| 125 | clocks = <&i2c_clk>; |
| 126 | clock-frequency = <400000>; |
| 127 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 128 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 129 | /* chip-internal connection for STM */ |
| 130 | i2c5: i2c@58785000 { |
| 131 | compatible = "socionext,uniphier-fi2c"; |
| 132 | reg = <0x58785000 0x80>; |
| 133 | #address-cells = <1>; |
| 134 | #size-cells = <0>; |
| 135 | interrupts = <0 25 4>; |
| 136 | clocks = <&i2c_clk>; |
| 137 | clock-frequency = <400000>; |
| 138 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 139 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 140 | /* chip-internal connection for HDMI */ |
| 141 | i2c6: i2c@58786000 { |
| 142 | compatible = "socionext,uniphier-fi2c"; |
| 143 | reg = <0x58786000 0x80>; |
| 144 | #address-cells = <1>; |
| 145 | #size-cells = <0>; |
| 146 | interrupts = <0 26 4>; |
| 147 | clocks = <&i2c_clk>; |
| 148 | clock-frequency = <400000>; |
| 149 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 150 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 151 | usb0: usb@65a00000 { |
| 152 | compatible = "socionext,uniphier-xhci", "generic-xhci"; |
| 153 | status = "disabled"; |
| 154 | reg = <0x65a00000 0x100>; |
| 155 | pinctrl-names = "default"; |
| 156 | pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>; |
| 157 | interrupts = <0 134 4>; |
| 158 | }; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 159 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 160 | usb1: usb@65c00000 { |
| 161 | compatible = "socionext,uniphier-xhci", "generic-xhci"; |
| 162 | status = "disabled"; |
| 163 | reg = <0x65c00000 0x100>; |
| 164 | pinctrl-names = "default"; |
| 165 | pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>; |
| 166 | interrupts = <0 137 4>; |
Masahiro Yamada | f875bbb | 2015-08-28 22:33:15 +0900 | [diff] [blame] | 167 | }; |
| 168 | }; |
| 169 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 170 | &serial0 { |
| 171 | clock-frequency = <88900000>; |
| 172 | }; |
| 173 | |
| 174 | &serial1 { |
| 175 | clock-frequency = <88900000>; |
| 176 | }; |
| 177 | |
| 178 | &serial2 { |
| 179 | clock-frequency = <88900000>; |
| 180 | }; |
| 181 | |
| 182 | &serial3 { |
| 183 | clock-frequency = <88900000>; |
| 184 | }; |
| 185 | |
| 186 | &pinctrl { |
| 187 | compatible = "socionext,proxstream2-pinctrl", "syscon"; |
| 188 | }; |