Wolfram Sang | cdbfaf6 | 2018-06-11 23:49:36 +0900 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 2 | /* |
Magnus Damm | af69e34 | 2018-08-20 23:04:44 +0900 | [diff] [blame] | 3 | * Device Tree Source for the R-Car H1 (R8A77790) SoC |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 4 | * |
| 5 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 6 | * Copyright (C) 2013 Simon Horman |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 7 | */ |
| 8 | |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 9 | #include <dt-bindings/clock/r8a7779-clock.h> |
Magnus Damm | cea8065 | 2014-12-16 18:39:41 +0900 | [diff] [blame] | 10 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 11 | #include <dt-bindings/interrupt-controller/irq.h> |
Geert Uytterhoeven | b2df3aa | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 12 | #include <dt-bindings/power/r8a7779-sysc.h> |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 13 | |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 14 | / { |
| 15 | compatible = "renesas,r8a7779"; |
Laurent Pinchart | 9ff254a | 2014-04-30 02:41:28 +0200 | [diff] [blame] | 16 | interrupt-parent = <&gic>; |
Geert Uytterhoeven | 1cfc0c0 | 2016-10-21 11:16:08 +0200 | [diff] [blame] | 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 19 | |
| 20 | cpus { |
| 21 | #address-cells = <1>; |
| 22 | #size-cells = <0>; |
| 23 | |
| 24 | cpu@0 { |
| 25 | device_type = "cpu"; |
| 26 | compatible = "arm,cortex-a9"; |
| 27 | reg = <0>; |
Simon Horman | 6b060f9 | 2014-05-16 13:42:58 +0900 | [diff] [blame] | 28 | clock-frequency = <1000000000>; |
Geert Uytterhoeven | fa9f95a | 2017-10-12 11:35:09 +0200 | [diff] [blame] | 29 | clocks = <&cpg_clocks R8A7779_CLK_Z>; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 30 | }; |
| 31 | cpu@1 { |
| 32 | device_type = "cpu"; |
| 33 | compatible = "arm,cortex-a9"; |
| 34 | reg = <1>; |
Simon Horman | 6b060f9 | 2014-05-16 13:42:58 +0900 | [diff] [blame] | 35 | clock-frequency = <1000000000>; |
Geert Uytterhoeven | fa9f95a | 2017-10-12 11:35:09 +0200 | [diff] [blame] | 36 | clocks = <&cpg_clocks R8A7779_CLK_Z>; |
Geert Uytterhoeven | b2df3aa | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 37 | power-domains = <&sysc R8A7779_PD_ARM1>; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 38 | }; |
| 39 | cpu@2 { |
| 40 | device_type = "cpu"; |
| 41 | compatible = "arm,cortex-a9"; |
| 42 | reg = <2>; |
Simon Horman | 6b060f9 | 2014-05-16 13:42:58 +0900 | [diff] [blame] | 43 | clock-frequency = <1000000000>; |
Geert Uytterhoeven | fa9f95a | 2017-10-12 11:35:09 +0200 | [diff] [blame] | 44 | clocks = <&cpg_clocks R8A7779_CLK_Z>; |
Geert Uytterhoeven | b2df3aa | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 45 | power-domains = <&sysc R8A7779_PD_ARM2>; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 46 | }; |
| 47 | cpu@3 { |
| 48 | device_type = "cpu"; |
| 49 | compatible = "arm,cortex-a9"; |
| 50 | reg = <3>; |
Simon Horman | 6b060f9 | 2014-05-16 13:42:58 +0900 | [diff] [blame] | 51 | clock-frequency = <1000000000>; |
Geert Uytterhoeven | fa9f95a | 2017-10-12 11:35:09 +0200 | [diff] [blame] | 52 | clocks = <&cpg_clocks R8A7779_CLK_Z>; |
Geert Uytterhoeven | b2df3aa | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 53 | power-domains = <&sysc R8A7779_PD_ARM3>; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 54 | }; |
| 55 | }; |
| 56 | |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 57 | aliases { |
| 58 | spi0 = &hspi0; |
| 59 | spi1 = &hspi1; |
| 60 | spi2 = &hspi2; |
| 61 | }; |
| 62 | |
Simon Horman | cc703a5 | 2014-07-07 08:47:38 +0200 | [diff] [blame] | 63 | gic: interrupt-controller@f0001000 { |
| 64 | compatible = "arm,cortex-a9-gic"; |
| 65 | #interrupt-cells = <3>; |
| 66 | interrupt-controller; |
| 67 | reg = <0xf0001000 0x1000>, |
| 68 | <0xf0000100 0x100>; |
| 69 | }; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 70 | |
Geert Uytterhoeven | 8443ffd | 2019-12-11 14:52:21 +0100 | [diff] [blame] | 71 | timer@f0000200 { |
| 72 | compatible = "arm,cortex-a9-global-timer"; |
| 73 | reg = <0xf0000200 0x100>; |
| 74 | interrupts = <GIC_PPI 11 |
| 75 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; |
| 76 | clocks = <&cpg_clocks R8A7779_CLK_ZS>; |
| 77 | }; |
| 78 | |
Magnus Damm | cea8065 | 2014-12-16 18:39:41 +0900 | [diff] [blame] | 79 | timer@f0000600 { |
| 80 | compatible = "arm,cortex-a9-twd-timer"; |
| 81 | reg = <0xf0000600 0x20>; |
| 82 | interrupts = <GIC_PPI 13 |
Geert Uytterhoeven | e6c2488 | 2016-03-18 11:19:21 +0100 | [diff] [blame] | 83 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; |
Magnus Damm | cea8065 | 2014-12-16 18:39:41 +0900 | [diff] [blame] | 84 | clocks = <&cpg_clocks R8A7779_CLK_ZS>; |
| 85 | }; |
| 86 | |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 87 | gpio0: gpio@ffc40000 { |
Simon Horman | 88cb141 | 2017-10-13 14:33:03 +0200 | [diff] [blame] | 88 | compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 89 | reg = <0xffc40000 0x2c>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 90 | interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 91 | #gpio-cells = <2>; |
| 92 | gpio-controller; |
| 93 | gpio-ranges = <&pfc 0 0 32>; |
| 94 | #interrupt-cells = <2>; |
| 95 | interrupt-controller; |
| 96 | }; |
| 97 | |
| 98 | gpio1: gpio@ffc41000 { |
Simon Horman | 88cb141 | 2017-10-13 14:33:03 +0200 | [diff] [blame] | 99 | compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 100 | reg = <0xffc41000 0x2c>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 101 | interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 102 | #gpio-cells = <2>; |
| 103 | gpio-controller; |
| 104 | gpio-ranges = <&pfc 0 32 32>; |
| 105 | #interrupt-cells = <2>; |
| 106 | interrupt-controller; |
| 107 | }; |
| 108 | |
| 109 | gpio2: gpio@ffc42000 { |
Simon Horman | 88cb141 | 2017-10-13 14:33:03 +0200 | [diff] [blame] | 110 | compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 111 | reg = <0xffc42000 0x2c>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 112 | interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 113 | #gpio-cells = <2>; |
| 114 | gpio-controller; |
| 115 | gpio-ranges = <&pfc 0 64 32>; |
| 116 | #interrupt-cells = <2>; |
| 117 | interrupt-controller; |
| 118 | }; |
| 119 | |
| 120 | gpio3: gpio@ffc43000 { |
Simon Horman | 88cb141 | 2017-10-13 14:33:03 +0200 | [diff] [blame] | 121 | compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 122 | reg = <0xffc43000 0x2c>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 123 | interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 124 | #gpio-cells = <2>; |
| 125 | gpio-controller; |
| 126 | gpio-ranges = <&pfc 0 96 32>; |
| 127 | #interrupt-cells = <2>; |
| 128 | interrupt-controller; |
| 129 | }; |
| 130 | |
| 131 | gpio4: gpio@ffc44000 { |
Simon Horman | 88cb141 | 2017-10-13 14:33:03 +0200 | [diff] [blame] | 132 | compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 133 | reg = <0xffc44000 0x2c>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 134 | interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 135 | #gpio-cells = <2>; |
| 136 | gpio-controller; |
| 137 | gpio-ranges = <&pfc 0 128 32>; |
| 138 | #interrupt-cells = <2>; |
| 139 | interrupt-controller; |
| 140 | }; |
| 141 | |
| 142 | gpio5: gpio@ffc45000 { |
Simon Horman | 88cb141 | 2017-10-13 14:33:03 +0200 | [diff] [blame] | 143 | compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 144 | reg = <0xffc45000 0x2c>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 145 | interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 146 | #gpio-cells = <2>; |
| 147 | gpio-controller; |
| 148 | gpio-ranges = <&pfc 0 160 32>; |
| 149 | #interrupt-cells = <2>; |
| 150 | interrupt-controller; |
| 151 | }; |
| 152 | |
| 153 | gpio6: gpio@ffc46000 { |
Simon Horman | 88cb141 | 2017-10-13 14:33:03 +0200 | [diff] [blame] | 154 | compatible = "renesas,gpio-r8a7779", "renesas,rcar-gen1-gpio"; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 155 | reg = <0xffc46000 0x2c>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 156 | interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 157 | #gpio-cells = <2>; |
| 158 | gpio-controller; |
| 159 | gpio-ranges = <&pfc 0 192 9>; |
| 160 | #interrupt-cells = <2>; |
| 161 | interrupt-controller; |
| 162 | }; |
| 163 | |
Magnus Damm | 7bf46d0 | 2015-06-25 17:57:28 +0900 | [diff] [blame] | 164 | irqpin0: interrupt-controller@fe78001c { |
Magnus Damm | 11ef034 | 2013-11-28 08:15:18 +0900 | [diff] [blame] | 165 | compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin"; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 166 | #interrupt-cells = <2>; |
Kuninori Morimoto | 84b47df | 2013-10-02 01:39:13 -0700 | [diff] [blame] | 167 | status = "disabled"; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 168 | interrupt-controller; |
| 169 | reg = <0xfe78001c 4>, |
| 170 | <0xfe780010 4>, |
| 171 | <0xfe780024 4>, |
| 172 | <0xfe780044 4>, |
Magnus Damm | 7bf46d0 | 2015-06-25 17:57:28 +0900 | [diff] [blame] | 173 | <0xfe780064 4>, |
| 174 | <0xfe780000 4>; |
Geert Uytterhoeven | c2e952e | 2019-12-13 17:41:10 +0100 | [diff] [blame] | 175 | interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>, |
| 176 | <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, |
| 177 | <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, |
| 178 | <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 179 | sense-bitfield-width = <2>; |
| 180 | }; |
| 181 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 182 | i2c0: i2c@ffc70000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 183 | #address-cells = <1>; |
| 184 | #size-cells = <0>; |
Simon Horman | 137d27f | 2016-12-13 12:45:47 +0100 | [diff] [blame] | 185 | compatible = "renesas,i2c-r8a7779", "renesas,rcar-gen1-i2c"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 186 | reg = <0xffc70000 0x1000>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 187 | interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 188 | clocks = <&mstp0_clks R8A7779_CLK_I2C0>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 189 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 190 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 191 | }; |
| 192 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 193 | i2c1: i2c@ffc71000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 194 | #address-cells = <1>; |
| 195 | #size-cells = <0>; |
Simon Horman | 137d27f | 2016-12-13 12:45:47 +0100 | [diff] [blame] | 196 | compatible = "renesas,i2c-r8a7779", "renesas,rcar-gen1-i2c"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 197 | reg = <0xffc71000 0x1000>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 198 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 199 | clocks = <&mstp0_clks R8A7779_CLK_I2C1>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 200 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 201 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 202 | }; |
| 203 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 204 | i2c2: i2c@ffc72000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 205 | #address-cells = <1>; |
| 206 | #size-cells = <0>; |
Simon Horman | 137d27f | 2016-12-13 12:45:47 +0100 | [diff] [blame] | 207 | compatible = "renesas,i2c-r8a7779", "renesas,rcar-gen1-i2c"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 208 | reg = <0xffc72000 0x1000>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 209 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 210 | clocks = <&mstp0_clks R8A7779_CLK_I2C2>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 211 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 212 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 213 | }; |
| 214 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 215 | i2c3: i2c@ffc73000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 216 | #address-cells = <1>; |
| 217 | #size-cells = <0>; |
Simon Horman | 137d27f | 2016-12-13 12:45:47 +0100 | [diff] [blame] | 218 | compatible = "renesas,i2c-r8a7779", "renesas,rcar-gen1-i2c"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 219 | reg = <0xffc73000 0x1000>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 220 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 221 | clocks = <&mstp0_clks R8A7779_CLK_I2C3>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 222 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 223 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 224 | }; |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 225 | |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 226 | scif0: serial@ffe40000 { |
Geert Uytterhoeven | b2ac44f | 2016-01-29 10:32:03 +0100 | [diff] [blame] | 227 | compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif", |
| 228 | "renesas,scif"; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 229 | reg = <0xffe40000 0x100>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 230 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | f2be5f0 | 2016-01-29 11:04:38 +0100 | [diff] [blame] | 231 | clocks = <&mstp0_clks R8A7779_CLK_SCIF0>, |
| 232 | <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>; |
| 233 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 234 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 235 | status = "disabled"; |
| 236 | }; |
| 237 | |
| 238 | scif1: serial@ffe41000 { |
Geert Uytterhoeven | b2ac44f | 2016-01-29 10:32:03 +0100 | [diff] [blame] | 239 | compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif", |
| 240 | "renesas,scif"; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 241 | reg = <0xffe41000 0x100>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 242 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | f2be5f0 | 2016-01-29 11:04:38 +0100 | [diff] [blame] | 243 | clocks = <&mstp0_clks R8A7779_CLK_SCIF1>, |
| 244 | <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>; |
| 245 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 246 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 247 | status = "disabled"; |
| 248 | }; |
| 249 | |
| 250 | scif2: serial@ffe42000 { |
Geert Uytterhoeven | b2ac44f | 2016-01-29 10:32:03 +0100 | [diff] [blame] | 251 | compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif", |
| 252 | "renesas,scif"; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 253 | reg = <0xffe42000 0x100>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 254 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | f2be5f0 | 2016-01-29 11:04:38 +0100 | [diff] [blame] | 255 | clocks = <&mstp0_clks R8A7779_CLK_SCIF2>, |
| 256 | <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>; |
| 257 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 258 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 259 | status = "disabled"; |
| 260 | }; |
| 261 | |
| 262 | scif3: serial@ffe43000 { |
Geert Uytterhoeven | b2ac44f | 2016-01-29 10:32:03 +0100 | [diff] [blame] | 263 | compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif", |
| 264 | "renesas,scif"; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 265 | reg = <0xffe43000 0x100>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 266 | interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | f2be5f0 | 2016-01-29 11:04:38 +0100 | [diff] [blame] | 267 | clocks = <&mstp0_clks R8A7779_CLK_SCIF3>, |
| 268 | <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>; |
| 269 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 270 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 271 | status = "disabled"; |
| 272 | }; |
| 273 | |
| 274 | scif4: serial@ffe44000 { |
Geert Uytterhoeven | b2ac44f | 2016-01-29 10:32:03 +0100 | [diff] [blame] | 275 | compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif", |
| 276 | "renesas,scif"; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 277 | reg = <0xffe44000 0x100>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 278 | interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | f2be5f0 | 2016-01-29 11:04:38 +0100 | [diff] [blame] | 279 | clocks = <&mstp0_clks R8A7779_CLK_SCIF4>, |
| 280 | <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>; |
| 281 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 282 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 283 | status = "disabled"; |
| 284 | }; |
| 285 | |
| 286 | scif5: serial@ffe45000 { |
Geert Uytterhoeven | b2ac44f | 2016-01-29 10:32:03 +0100 | [diff] [blame] | 287 | compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif", |
| 288 | "renesas,scif"; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 289 | reg = <0xffe45000 0x100>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 290 | interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | f2be5f0 | 2016-01-29 11:04:38 +0100 | [diff] [blame] | 291 | clocks = <&mstp0_clks R8A7779_CLK_SCIF5>, |
| 292 | <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>; |
| 293 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 294 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 295 | status = "disabled"; |
| 296 | }; |
| 297 | |
Ulrich Hecht | 055d15a | 2019-01-18 11:48:15 +0100 | [diff] [blame] | 298 | hscif0: serial@ffe48000 { |
| 299 | compatible = "renesas,hscif-r8a7779", |
| 300 | "renesas,rcar-gen1-hscif", "renesas,hscif"; |
| 301 | reg = <0xffe48000 96>; |
| 302 | interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; |
| 303 | clocks = <&mstp0_clks R8A7779_CLK_HSCIF0>, |
| 304 | <&cpg_clocks R8A7779_CLK_S>, |
| 305 | <&scif_clk>; |
| 306 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | a03fa77 | 2019-08-16 10:22:29 +0200 | [diff] [blame] | 307 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Ulrich Hecht | 055d15a | 2019-01-18 11:48:15 +0100 | [diff] [blame] | 308 | status = "disabled"; |
| 309 | }; |
| 310 | |
| 311 | hscif1: serial@ffe49000 { |
| 312 | compatible = "renesas,hscif-r8a7779", |
| 313 | "renesas,rcar-gen1-hscif", "renesas,hscif"; |
| 314 | reg = <0xffe49000 96>; |
| 315 | interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; |
| 316 | clocks = <&mstp0_clks R8A7779_CLK_HSCIF1>, |
| 317 | <&cpg_clocks R8A7779_CLK_S>, |
| 318 | <&scif_clk>; |
| 319 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | a03fa77 | 2019-08-16 10:22:29 +0200 | [diff] [blame] | 320 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Ulrich Hecht | 055d15a | 2019-01-18 11:48:15 +0100 | [diff] [blame] | 321 | status = "disabled"; |
| 322 | }; |
| 323 | |
Simon Horman | b07b763 | 2017-04-26 12:05:34 +0200 | [diff] [blame] | 324 | pfc: pin-controller@fffc0000 { |
Laurent Pinchart | 3ab03d0 | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 325 | compatible = "renesas,pfc-r8a7779"; |
| 326 | reg = <0xfffc0000 0x23c>; |
| 327 | }; |
| 328 | |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 329 | thermal@ffc48000 { |
Geert Uytterhoeven | 4d50e6d | 2014-08-28 10:20:40 +0200 | [diff] [blame] | 330 | compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal"; |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 331 | reg = <0xffc48000 0x38>; |
| 332 | }; |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 333 | |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 334 | tmu0: timer@ffd80000 { |
Simon Horman | a51b7b3 | 2014-09-08 09:27:48 +0900 | [diff] [blame] | 335 | compatible = "renesas,tmu-r8a7779", "renesas,tmu"; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 336 | reg = <0xffd80000 0x30>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 337 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, |
| 338 | <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, |
| 339 | <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 340 | clocks = <&mstp0_clks R8A7779_CLK_TMU0>; |
| 341 | clock-names = "fck"; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 342 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 343 | |
| 344 | #renesas,channels = <3>; |
| 345 | |
| 346 | status = "disabled"; |
| 347 | }; |
| 348 | |
| 349 | tmu1: timer@ffd81000 { |
Simon Horman | a51b7b3 | 2014-09-08 09:27:48 +0900 | [diff] [blame] | 350 | compatible = "renesas,tmu-r8a7779", "renesas,tmu"; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 351 | reg = <0xffd81000 0x30>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 352 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, |
| 353 | <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, |
| 354 | <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 355 | clocks = <&mstp0_clks R8A7779_CLK_TMU1>; |
| 356 | clock-names = "fck"; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 357 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 358 | |
| 359 | #renesas,channels = <3>; |
| 360 | |
| 361 | status = "disabled"; |
| 362 | }; |
| 363 | |
| 364 | tmu2: timer@ffd82000 { |
Simon Horman | a51b7b3 | 2014-09-08 09:27:48 +0900 | [diff] [blame] | 365 | compatible = "renesas,tmu-r8a7779", "renesas,tmu"; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 366 | reg = <0xffd82000 0x30>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 367 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, |
| 368 | <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, |
| 369 | <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 370 | clocks = <&mstp0_clks R8A7779_CLK_TMU2>; |
| 371 | clock-names = "fck"; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 372 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 373 | |
| 374 | #renesas,channels = <3>; |
| 375 | |
| 376 | status = "disabled"; |
| 377 | }; |
| 378 | |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 379 | sata: sata@fc600000 { |
Geert Uytterhoeven | 25af9c8 | 2014-10-29 14:58:51 +0100 | [diff] [blame] | 380 | compatible = "renesas,sata-r8a7779", "renesas,rcar-sata"; |
Geert Uytterhoeven | 441f61e | 2018-07-20 14:28:57 +0200 | [diff] [blame] | 381 | reg = <0xfc600000 0x200000>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 382 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 383 | clocks = <&mstp1_clks R8A7779_CLK_SATA>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 384 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Geert Uytterhoeven | e8aa681 | 2017-01-16 17:56:53 +0100 | [diff] [blame] | 385 | status = "disabled"; |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 386 | }; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 387 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 388 | sdhi0: sd@ffe4c000 { |
Simon Horman | 0863a6e | 2017-10-17 08:09:54 +0200 | [diff] [blame] | 389 | compatible = "renesas,sdhi-r8a7779", |
| 390 | "renesas,rcar-gen1-sdhi"; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 391 | reg = <0xffe4c000 0x100>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 392 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 393 | clocks = <&mstp3_clks R8A7779_CLK_SDHI0>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 394 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 395 | status = "disabled"; |
| 396 | }; |
| 397 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 398 | sdhi1: sd@ffe4d000 { |
Simon Horman | 0863a6e | 2017-10-17 08:09:54 +0200 | [diff] [blame] | 399 | compatible = "renesas,sdhi-r8a7779", |
| 400 | "renesas,rcar-gen1-sdhi"; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 401 | reg = <0xffe4d000 0x100>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 402 | interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 403 | clocks = <&mstp3_clks R8A7779_CLK_SDHI1>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 404 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 405 | status = "disabled"; |
| 406 | }; |
| 407 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 408 | sdhi2: sd@ffe4e000 { |
Simon Horman | 0863a6e | 2017-10-17 08:09:54 +0200 | [diff] [blame] | 409 | compatible = "renesas,sdhi-r8a7779", |
| 410 | "renesas,rcar-gen1-sdhi"; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 411 | reg = <0xffe4e000 0x100>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 412 | interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 413 | clocks = <&mstp3_clks R8A7779_CLK_SDHI2>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 414 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 415 | status = "disabled"; |
| 416 | }; |
| 417 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 418 | sdhi3: sd@ffe4f000 { |
Simon Horman | 0863a6e | 2017-10-17 08:09:54 +0200 | [diff] [blame] | 419 | compatible = "renesas,sdhi-r8a7779", |
| 420 | "renesas,rcar-gen1-sdhi"; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 421 | reg = <0xffe4f000 0x100>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 422 | interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 423 | clocks = <&mstp3_clks R8A7779_CLK_SDHI3>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 424 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 425 | status = "disabled"; |
| 426 | }; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 427 | |
| 428 | hspi0: spi@fffc7000 { |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 429 | compatible = "renesas,hspi-r8a7779", "renesas,hspi"; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 430 | reg = <0xfffc7000 0x18>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 431 | interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 432 | #address-cells = <1>; |
| 433 | #size-cells = <0>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 434 | clocks = <&mstp0_clks R8A7779_CLK_HSPI>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 435 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 436 | status = "disabled"; |
| 437 | }; |
| 438 | |
| 439 | hspi1: spi@fffc8000 { |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 440 | compatible = "renesas,hspi-r8a7779", "renesas,hspi"; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 441 | reg = <0xfffc8000 0x18>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 442 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 443 | #address-cells = <1>; |
| 444 | #size-cells = <0>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 445 | clocks = <&mstp0_clks R8A7779_CLK_HSPI>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 446 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 447 | status = "disabled"; |
| 448 | }; |
| 449 | |
| 450 | hspi2: spi@fffc6000 { |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 451 | compatible = "renesas,hspi-r8a7779", "renesas,hspi"; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 452 | reg = <0xfffc6000 0x18>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 453 | interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 454 | #address-cells = <1>; |
| 455 | #size-cells = <0>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 456 | clocks = <&mstp0_clks R8A7779_CLK_HSPI>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 457 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 458 | status = "disabled"; |
| 459 | }; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 460 | |
Laurent Pinchart | 1f08bbe | 2014-01-21 16:00:46 +0100 | [diff] [blame] | 461 | du: display@fff80000 { |
| 462 | compatible = "renesas,du-r8a7779"; |
Laurent Pinchart | 30524ed | 2016-10-19 01:23:02 +0300 | [diff] [blame] | 463 | reg = <0xfff80000 0x40000>; |
Simon Horman | 854b7733 | 2016-01-21 13:52:46 +0900 | [diff] [blame] | 464 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 1f08bbe | 2014-01-21 16:00:46 +0100 | [diff] [blame] | 465 | clocks = <&mstp1_clks R8A7779_CLK_DU>; |
Geert Uytterhoeven | 751e29b | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 466 | power-domains = <&sysc R8A7779_PD_ALWAYS_ON>; |
Laurent Pinchart | 1f08bbe | 2014-01-21 16:00:46 +0100 | [diff] [blame] | 467 | status = "disabled"; |
| 468 | |
| 469 | ports { |
| 470 | #address-cells = <1>; |
| 471 | #size-cells = <0>; |
| 472 | |
| 473 | port@0 { |
| 474 | reg = <0>; |
| 475 | du_out_rgb0: endpoint { |
| 476 | }; |
| 477 | }; |
| 478 | port@1 { |
| 479 | reg = <1>; |
| 480 | du_out_rgb1: endpoint { |
| 481 | }; |
| 482 | }; |
| 483 | }; |
| 484 | }; |
| 485 | |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 486 | clocks { |
Geert Uytterhoeven | 5cc8afc | 2014-05-23 09:46:19 +0200 | [diff] [blame] | 487 | #address-cells = <1>; |
| 488 | #size-cells = <1>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 489 | ranges; |
| 490 | |
| 491 | /* External root clock */ |
Simon Horman | 3f6dba7 | 2016-03-18 08:15:34 +0900 | [diff] [blame] | 492 | extal_clk: extal { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 493 | compatible = "fixed-clock"; |
| 494 | #clock-cells = <0>; |
| 495 | /* This value must be overriden by the board. */ |
| 496 | clock-frequency = <0>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 497 | }; |
| 498 | |
Geert Uytterhoeven | f2be5f0 | 2016-01-29 11:04:38 +0100 | [diff] [blame] | 499 | /* External SCIF clock */ |
| 500 | scif_clk: scif { |
| 501 | compatible = "fixed-clock"; |
| 502 | #clock-cells = <0>; |
| 503 | /* This value must be overridden by the board. */ |
| 504 | clock-frequency = <0>; |
Geert Uytterhoeven | f2be5f0 | 2016-01-29 11:04:38 +0100 | [diff] [blame] | 505 | }; |
| 506 | |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 507 | /* Special CPG clocks */ |
Geert Uytterhoeven | 2909b87 | 2014-05-23 09:46:20 +0200 | [diff] [blame] | 508 | cpg_clocks: clocks@ffc80000 { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 509 | compatible = "renesas,r8a7779-cpg-clocks"; |
Geert Uytterhoeven | 5cc8afc | 2014-05-23 09:46:19 +0200 | [diff] [blame] | 510 | reg = <0xffc80000 0x30>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 511 | clocks = <&extal_clk>; |
| 512 | #clock-cells = <1>; |
| 513 | clock-output-names = "plla", "z", "zs", "s", |
| 514 | "s1", "p", "b", "out"; |
Geert Uytterhoeven | 33c3632 | 2015-08-04 14:28:09 +0200 | [diff] [blame] | 515 | #power-domain-cells = <0>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 516 | }; |
| 517 | |
| 518 | /* Fixed factor clocks */ |
Simon Horman | 3f6dba7 | 2016-03-18 08:15:34 +0900 | [diff] [blame] | 519 | i_clk: i { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 520 | compatible = "fixed-factor-clock"; |
| 521 | clocks = <&cpg_clocks R8A7779_CLK_PLLA>; |
| 522 | #clock-cells = <0>; |
| 523 | clock-div = <2>; |
| 524 | clock-mult = <1>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 525 | }; |
Simon Horman | 3f6dba7 | 2016-03-18 08:15:34 +0900 | [diff] [blame] | 526 | s3_clk: s3 { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 527 | compatible = "fixed-factor-clock"; |
| 528 | clocks = <&cpg_clocks R8A7779_CLK_PLLA>; |
| 529 | #clock-cells = <0>; |
| 530 | clock-div = <8>; |
| 531 | clock-mult = <1>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 532 | }; |
Simon Horman | 3f6dba7 | 2016-03-18 08:15:34 +0900 | [diff] [blame] | 533 | s4_clk: s4 { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 534 | compatible = "fixed-factor-clock"; |
| 535 | clocks = <&cpg_clocks R8A7779_CLK_PLLA>; |
| 536 | #clock-cells = <0>; |
| 537 | clock-div = <16>; |
| 538 | clock-mult = <1>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 539 | }; |
Simon Horman | 3f6dba7 | 2016-03-18 08:15:34 +0900 | [diff] [blame] | 540 | g_clk: g { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 541 | compatible = "fixed-factor-clock"; |
| 542 | clocks = <&cpg_clocks R8A7779_CLK_PLLA>; |
| 543 | #clock-cells = <0>; |
| 544 | clock-div = <24>; |
| 545 | clock-mult = <1>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 546 | }; |
| 547 | |
| 548 | /* Gate clocks */ |
Geert Uytterhoeven | 2909b87 | 2014-05-23 09:46:20 +0200 | [diff] [blame] | 549 | mstp0_clks: clocks@ffc80030 { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 550 | compatible = "renesas,r8a7779-mstp-clocks", |
Geert Uytterhoeven | 99e544c | 2014-08-28 10:21:55 +0200 | [diff] [blame] | 551 | "renesas,cpg-mstp-clocks"; |
Geert Uytterhoeven | 5cc8afc | 2014-05-23 09:46:19 +0200 | [diff] [blame] | 552 | reg = <0xffc80030 4>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 553 | clocks = <&cpg_clocks R8A7779_CLK_S>, |
Geert Uytterhoeven | 99e544c | 2014-08-28 10:21:55 +0200 | [diff] [blame] | 554 | <&cpg_clocks R8A7779_CLK_P>, |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 555 | <&cpg_clocks R8A7779_CLK_P>, |
| 556 | <&cpg_clocks R8A7779_CLK_P>, |
| 557 | <&cpg_clocks R8A7779_CLK_S>, |
| 558 | <&cpg_clocks R8A7779_CLK_S>, |
Magnus Damm | c6ce3cd | 2014-12-15 14:00:34 +0900 | [diff] [blame] | 559 | <&cpg_clocks R8A7779_CLK_P>, |
| 560 | <&cpg_clocks R8A7779_CLK_P>, |
| 561 | <&cpg_clocks R8A7779_CLK_P>, |
| 562 | <&cpg_clocks R8A7779_CLK_P>, |
| 563 | <&cpg_clocks R8A7779_CLK_P>, |
| 564 | <&cpg_clocks R8A7779_CLK_P>, |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 565 | <&cpg_clocks R8A7779_CLK_P>, |
| 566 | <&cpg_clocks R8A7779_CLK_P>, |
| 567 | <&cpg_clocks R8A7779_CLK_P>, |
| 568 | <&cpg_clocks R8A7779_CLK_P>; |
| 569 | #clock-cells = <1>; |
Geert Uytterhoeven | 64530fc | 2014-11-10 19:49:36 +0100 | [diff] [blame] | 570 | clock-indices = < |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 571 | R8A7779_CLK_HSPI R8A7779_CLK_TMU2 |
| 572 | R8A7779_CLK_TMU1 R8A7779_CLK_TMU0 |
| 573 | R8A7779_CLK_HSCIF1 R8A7779_CLK_HSCIF0 |
| 574 | R8A7779_CLK_SCIF5 R8A7779_CLK_SCIF4 |
| 575 | R8A7779_CLK_SCIF3 R8A7779_CLK_SCIF2 |
| 576 | R8A7779_CLK_SCIF1 R8A7779_CLK_SCIF0 |
| 577 | R8A7779_CLK_I2C3 R8A7779_CLK_I2C2 |
| 578 | R8A7779_CLK_I2C1 R8A7779_CLK_I2C0 |
| 579 | >; |
| 580 | clock-output-names = |
| 581 | "hspi", "tmu2", "tmu1", "tmu0", "hscif1", |
| 582 | "hscif0", "scif5", "scif4", "scif3", "scif2", |
| 583 | "scif1", "scif0", "i2c3", "i2c2", "i2c1", |
| 584 | "i2c0"; |
| 585 | }; |
Geert Uytterhoeven | 2909b87 | 2014-05-23 09:46:20 +0200 | [diff] [blame] | 586 | mstp1_clks: clocks@ffc80034 { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 587 | compatible = "renesas,r8a7779-mstp-clocks", |
Geert Uytterhoeven | 99e544c | 2014-08-28 10:21:55 +0200 | [diff] [blame] | 588 | "renesas,cpg-mstp-clocks"; |
Geert Uytterhoeven | 5cc8afc | 2014-05-23 09:46:19 +0200 | [diff] [blame] | 589 | reg = <0xffc80034 4>, <0xffc80044 4>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 590 | clocks = <&cpg_clocks R8A7779_CLK_P>, |
| 591 | <&cpg_clocks R8A7779_CLK_P>, |
| 592 | <&cpg_clocks R8A7779_CLK_S>, |
| 593 | <&cpg_clocks R8A7779_CLK_S>, |
| 594 | <&cpg_clocks R8A7779_CLK_S>, |
| 595 | <&cpg_clocks R8A7779_CLK_S>, |
| 596 | <&cpg_clocks R8A7779_CLK_P>, |
| 597 | <&cpg_clocks R8A7779_CLK_P>, |
| 598 | <&cpg_clocks R8A7779_CLK_P>, |
| 599 | <&cpg_clocks R8A7779_CLK_S>; |
| 600 | #clock-cells = <1>; |
Geert Uytterhoeven | 64530fc | 2014-11-10 19:49:36 +0100 | [diff] [blame] | 601 | clock-indices = < |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 602 | R8A7779_CLK_USB01 R8A7779_CLK_USB2 |
| 603 | R8A7779_CLK_DU R8A7779_CLK_VIN2 |
| 604 | R8A7779_CLK_VIN1 R8A7779_CLK_VIN0 |
| 605 | R8A7779_CLK_ETHER R8A7779_CLK_SATA |
| 606 | R8A7779_CLK_PCIE R8A7779_CLK_VIN3 |
| 607 | >; |
| 608 | clock-output-names = |
| 609 | "usb01", "usb2", |
| 610 | "du", "vin2", |
| 611 | "vin1", "vin0", |
| 612 | "ether", "sata", |
| 613 | "pcie", "vin3"; |
| 614 | }; |
Geert Uytterhoeven | 2909b87 | 2014-05-23 09:46:20 +0200 | [diff] [blame] | 615 | mstp3_clks: clocks@ffc8003c { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 616 | compatible = "renesas,r8a7779-mstp-clocks", |
Geert Uytterhoeven | 99e544c | 2014-08-28 10:21:55 +0200 | [diff] [blame] | 617 | "renesas,cpg-mstp-clocks"; |
Geert Uytterhoeven | 5cc8afc | 2014-05-23 09:46:19 +0200 | [diff] [blame] | 618 | reg = <0xffc8003c 4>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 619 | clocks = <&s4_clk>, <&s4_clk>, <&s4_clk>, <&s4_clk>, |
| 620 | <&s4_clk>, <&s4_clk>; |
| 621 | #clock-cells = <1>; |
Geert Uytterhoeven | 64530fc | 2014-11-10 19:49:36 +0100 | [diff] [blame] | 622 | clock-indices = < |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 623 | R8A7779_CLK_SDHI3 R8A7779_CLK_SDHI2 |
| 624 | R8A7779_CLK_SDHI1 R8A7779_CLK_SDHI0 |
| 625 | R8A7779_CLK_MMC1 R8A7779_CLK_MMC0 |
| 626 | >; |
| 627 | clock-output-names = |
| 628 | "sdhi3", "sdhi2", "sdhi1", "sdhi0", |
| 629 | "mmc1", "mmc0"; |
| 630 | }; |
| 631 | }; |
Geert Uytterhoeven | b2df3aa | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 632 | |
Geert Uytterhoeven | 9ba368e | 2016-11-14 19:37:10 +0100 | [diff] [blame] | 633 | prr: chipid@ff000044 { |
| 634 | compatible = "renesas,prr"; |
| 635 | reg = <0xff000044 4>; |
| 636 | }; |
| 637 | |
Geert Uytterhoeven | ad40150 | 2016-06-01 13:47:30 +0200 | [diff] [blame] | 638 | rst: reset-controller@ffcc0000 { |
| 639 | compatible = "renesas,r8a7779-reset-wdt"; |
| 640 | reg = <0xffcc0000 0x48>; |
| 641 | }; |
| 642 | |
Geert Uytterhoeven | b2df3aa | 2015-06-03 10:14:01 +0200 | [diff] [blame] | 643 | sysc: system-controller@ffd85000 { |
| 644 | compatible = "renesas,r8a7779-sysc"; |
| 645 | reg = <0xffd85000 0x0200>; |
| 646 | #power-domain-cells = <1>; |
| 647 | }; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 648 | }; |