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