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>; |
| 22 | }; |
| 23 | }; |
| 24 | |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 25 | clocks { |
| 26 | arm_timer_clk: arm_timer_clk { |
| 27 | #clock-cells = <0>; |
| 28 | compatible = "fixed-clock"; |
| 29 | clock-frequency = <50000000>; |
| 30 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 31 | |
| 32 | uart_clk: uart_clk { |
| 33 | #clock-cells = <0>; |
| 34 | compatible = "fixed-clock"; |
| 35 | clock-frequency = <36864000>; |
| 36 | }; |
| 37 | |
| 38 | iobus_clk: iobus_clk { |
| 39 | #clock-cells = <0>; |
| 40 | compatible = "fixed-clock"; |
| 41 | clock-frequency = <100000000>; |
| 42 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 43 | }; |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 44 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 45 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 46 | &soc { |
| 47 | i2c0: i2c@58400000 { |
| 48 | compatible = "socionext,uniphier-i2c"; |
| 49 | status = "disabled"; |
| 50 | reg = <0x58400000 0x40>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 51 | #address-cells = <1>; |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 52 | #size-cells = <0>; |
| 53 | interrupts = <0 41 1>; |
| 54 | pinctrl-names = "default"; |
| 55 | pinctrl-0 = <&pinctrl_i2c0>; |
| 56 | clocks = <&iobus_clk>; |
| 57 | clock-frequency = <100000>; |
| 58 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 59 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 60 | i2c1: i2c@58480000 { |
| 61 | compatible = "socionext,uniphier-i2c"; |
| 62 | status = "disabled"; |
| 63 | reg = <0x58480000 0x40>; |
| 64 | #address-cells = <1>; |
| 65 | #size-cells = <0>; |
| 66 | interrupts = <0 42 1>; |
| 67 | pinctrl-names = "default"; |
| 68 | pinctrl-0 = <&pinctrl_i2c1>; |
| 69 | clocks = <&iobus_clk>; |
| 70 | clock-frequency = <100000>; |
| 71 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 72 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 73 | /* chip-internal connection for DMD */ |
| 74 | i2c2: i2c@58500000 { |
| 75 | compatible = "socionext,uniphier-i2c"; |
| 76 | reg = <0x58500000 0x40>; |
| 77 | #address-cells = <1>; |
| 78 | #size-cells = <0>; |
| 79 | interrupts = <0 43 1>; |
| 80 | pinctrl-names = "default"; |
| 81 | pinctrl-0 = <&pinctrl_i2c2>; |
| 82 | clocks = <&iobus_clk>; |
| 83 | clock-frequency = <400000>; |
| 84 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 85 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 86 | i2c3: i2c@58580000 { |
| 87 | compatible = "socionext,uniphier-i2c"; |
| 88 | status = "disabled"; |
| 89 | reg = <0x58580000 0x40>; |
| 90 | #address-cells = <1>; |
| 91 | #size-cells = <0>; |
| 92 | interrupts = <0 44 1>; |
| 93 | pinctrl-names = "default"; |
| 94 | pinctrl-0 = <&pinctrl_i2c3>; |
| 95 | clocks = <&iobus_clk>; |
| 96 | clock-frequency = <100000>; |
| 97 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 98 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 99 | usb0: usb@5a800100 { |
| 100 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 101 | status = "disabled"; |
| 102 | reg = <0x5a800100 0x100>; |
| 103 | interrupts = <0 80 4>; |
| 104 | pinctrl-names = "default"; |
| 105 | pinctrl-0 = <&pinctrl_usb0>; |
| 106 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 107 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 108 | usb1: usb@5a810100 { |
| 109 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 110 | status = "disabled"; |
| 111 | reg = <0x5a810100 0x100>; |
| 112 | interrupts = <0 81 4>; |
| 113 | pinctrl-names = "default"; |
| 114 | pinctrl-0 = <&pinctrl_usb1>; |
| 115 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 116 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 117 | usb2: usb@5a820100 { |
| 118 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 119 | status = "disabled"; |
| 120 | reg = <0x5a820100 0x100>; |
| 121 | interrupts = <0 82 4>; |
| 122 | pinctrl-names = "default"; |
| 123 | pinctrl-0 = <&pinctrl_usb2>; |
| 124 | }; |
| 125 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 126 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 127 | &serial0 { |
| 128 | clock-frequency = <36864000>; |
| 129 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 130 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 131 | &serial1 { |
| 132 | clock-frequency = <36864000>; |
| 133 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 134 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 135 | &serial2 { |
| 136 | clock-frequency = <36864000>; |
| 137 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 138 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 139 | &serial3 { |
| 140 | interrupts = <0 29 4>; |
| 141 | clock-frequency = <36864000>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 142 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 143 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame^] | 144 | &pinctrl { |
| 145 | compatible = "socionext,ph1-ld4-pinctrl", "syscon"; |
| 146 | }; |