Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * Copyright (C) 2013 STMicroelectronics Limited. |
| 4 | * Author: Srinivas Kandagatla <srinivas.kandagatla@st.com> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * publishhed by the Free Software Foundation. |
| 9 | */ |
| 10 | #include "st-pincfg.h" |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 11 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 12 | / { |
| 13 | |
| 14 | aliases { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 15 | gpio0 = &pio0; |
| 16 | gpio1 = &pio1; |
| 17 | gpio2 = &pio2; |
| 18 | gpio3 = &pio3; |
| 19 | gpio4 = &pio4; |
| 20 | gpio5 = &pio40; |
| 21 | gpio6 = &pio5; |
| 22 | gpio7 = &pio6; |
| 23 | gpio8 = &pio7; |
| 24 | gpio9 = &pio8; |
| 25 | gpio10 = &pio9; |
| 26 | gpio11 = &pio10; |
| 27 | gpio12 = &pio11; |
| 28 | gpio13 = &pio12; |
| 29 | gpio14 = &pio30; |
| 30 | gpio15 = &pio31; |
| 31 | gpio16 = &pio13; |
| 32 | gpio17 = &pio14; |
| 33 | gpio18 = &pio15; |
| 34 | gpio19 = &pio16; |
| 35 | gpio20 = &pio17; |
| 36 | gpio21 = &pio18; |
| 37 | gpio22 = &pio100; |
| 38 | gpio23 = &pio101; |
| 39 | gpio24 = &pio102; |
| 40 | gpio25 = &pio103; |
| 41 | gpio26 = &pio104; |
| 42 | gpio27 = &pio105; |
| 43 | gpio28 = &pio106; |
| 44 | gpio29 = &pio107; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | soc { |
| 48 | pin-controller-sbc { |
| 49 | #address-cells = <1>; |
| 50 | #size-cells = <1>; |
| 51 | compatible = "st,stih416-sbc-pinctrl"; |
| 52 | st,syscfg = <&syscfg_sbc>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 53 | reg = <0xfe61f080 0x4>; |
| 54 | reg-names = "irqmux"; |
| 55 | interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | ae107d0 | 2014-04-22 20:40:25 +0200 | [diff] [blame] | 56 | interrupt-names = "irqmux"; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 57 | ranges = <0 0xfe610000 0x6000>; |
| 58 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 59 | pio0: gpio@fe610000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 60 | gpio-controller; |
| 61 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 62 | interrupt-controller; |
| 63 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 64 | reg = <0 0x100>; |
| 65 | st,bank-name = "PIO0"; |
| 66 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 67 | pio1: gpio@fe611000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 68 | gpio-controller; |
| 69 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 70 | interrupt-controller; |
| 71 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 72 | reg = <0x1000 0x100>; |
| 73 | st,bank-name = "PIO1"; |
| 74 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 75 | pio2: gpio@fe612000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 76 | gpio-controller; |
| 77 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 78 | interrupt-controller; |
| 79 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 80 | reg = <0x2000 0x100>; |
| 81 | st,bank-name = "PIO2"; |
| 82 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 83 | pio3: gpio@fe613000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 84 | gpio-controller; |
| 85 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 86 | interrupt-controller; |
| 87 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 88 | reg = <0x3000 0x100>; |
| 89 | st,bank-name = "PIO3"; |
| 90 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 91 | pio4: gpio@fe614000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 92 | gpio-controller; |
| 93 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 94 | interrupt-controller; |
| 95 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 96 | reg = <0x4000 0x100>; |
| 97 | st,bank-name = "PIO4"; |
| 98 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 99 | pio40: gpio@fe615000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 100 | gpio-controller; |
| 101 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 102 | interrupt-controller; |
| 103 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 104 | reg = <0x5000 0x100>; |
| 105 | st,bank-name = "PIO40"; |
| 106 | st,retime-pin-mask = <0x7f>; |
| 107 | }; |
| 108 | |
Srinivas Kandagatla | e063735 | 2013-11-11 13:20:44 +0000 | [diff] [blame] | 109 | rc{ |
| 110 | pinctrl_ir: ir0 { |
| 111 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 112 | ir = <&pio4 0 ALT2 IN>; |
Srinivas Kandagatla | e063735 | 2013-11-11 13:20:44 +0000 | [diff] [blame] | 113 | }; |
| 114 | }; |
| 115 | }; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 116 | sbc_serial1 { |
| 117 | pinctrl_sbc_serial1: sbc_serial1 { |
| 118 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 119 | tx = <&pio2 6 ALT3 OUT>; |
| 120 | rx = <&pio2 7 ALT3 IN>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 121 | }; |
| 122 | }; |
| 123 | }; |
Maxime COQUELIN | f53e99a | 2013-11-06 09:25:13 +0100 | [diff] [blame] | 124 | |
Gabriel FERNANDEZ | 948d8ff | 2014-04-11 17:07:00 +0200 | [diff] [blame] | 125 | keyscan { |
| 126 | pinctrl_keyscan: keyscan { |
| 127 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 128 | keyin0 = <&pio0 2 ALT2 IN>; |
| 129 | keyin1 = <&pio0 3 ALT2 IN>; |
| 130 | keyin2 = <&pio0 4 ALT2 IN>; |
| 131 | keyin3 = <&pio2 6 ALT2 IN>; |
Gabriel FERNANDEZ | 948d8ff | 2014-04-11 17:07:00 +0200 | [diff] [blame] | 132 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 133 | keyout0 = <&pio1 6 ALT2 OUT>; |
| 134 | keyout1 = <&pio1 7 ALT2 OUT>; |
| 135 | keyout2 = <&pio0 6 ALT2 OUT>; |
| 136 | keyout3 = <&pio2 7 ALT2 OUT>; |
Gabriel FERNANDEZ | 948d8ff | 2014-04-11 17:07:00 +0200 | [diff] [blame] | 137 | }; |
| 138 | }; |
| 139 | }; |
| 140 | |
Maxime COQUELIN | f53e99a | 2013-11-06 09:25:13 +0100 | [diff] [blame] | 141 | sbc_i2c0 { |
| 142 | pinctrl_sbc_i2c0_default: sbc_i2c0-default { |
| 143 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 144 | sda = <&pio4 6 ALT1 BIDIR>; |
| 145 | scl = <&pio4 5 ALT1 BIDIR>; |
Maxime COQUELIN | f53e99a | 2013-11-06 09:25:13 +0100 | [diff] [blame] | 146 | }; |
| 147 | }; |
| 148 | }; |
| 149 | |
Peter Griffin | 401a526 | 2014-11-17 17:47:00 +0100 | [diff] [blame] | 150 | usb { |
| 151 | pinctrl_usb3: usb3 { |
| 152 | st,pins { |
| 153 | oc-detect = <&pio40 0 ALT1 IN>; |
| 154 | pwr-enable = <&pio40 1 ALT1 OUT>; |
| 155 | }; |
| 156 | }; |
| 157 | }; |
| 158 | |
Maxime COQUELIN | f53e99a | 2013-11-06 09:25:13 +0100 | [diff] [blame] | 159 | sbc_i2c1 { |
| 160 | pinctrl_sbc_i2c1_default: sbc_i2c1-default { |
| 161 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 162 | sda = <&pio3 2 ALT2 BIDIR>; |
| 163 | scl = <&pio3 1 ALT2 BIDIR>; |
Maxime COQUELIN | f53e99a | 2013-11-06 09:25:13 +0100 | [diff] [blame] | 164 | }; |
| 165 | }; |
| 166 | }; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 167 | |
| 168 | gmac1 { |
| 169 | pinctrl_mii1: mii1 { |
| 170 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 171 | txd0 = <&pio0 0 ALT1 OUT SE_NICLK_IO 0 CLK_A>; |
| 172 | txd1 = <&pio0 1 ALT1 OUT SE_NICLK_IO 0 CLK_A>; |
| 173 | txd2 = <&pio0 2 ALT1 OUT SE_NICLK_IO 0 CLK_A>; |
| 174 | txd3 = <&pio0 3 ALT1 OUT SE_NICLK_IO 0 CLK_A>; |
| 175 | txer = <&pio0 4 ALT1 OUT SE_NICLK_IO 0 CLK_A>; |
| 176 | txen = <&pio0 5 ALT1 OUT SE_NICLK_IO 0 CLK_A>; |
| 177 | txclk = <&pio0 6 ALT1 IN NICLK 0 CLK_A>; |
| 178 | col = <&pio0 7 ALT1 IN BYPASS 1000>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 179 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 180 | mdio = <&pio1 0 ALT1 OUT BYPASS 1500>; |
| 181 | mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>; |
| 182 | crs = <&pio1 2 ALT1 IN BYPASS 1000>; |
| 183 | mdint = <&pio1 3 ALT1 IN BYPASS 0>; |
| 184 | rxd0 = <&pio1 4 ALT1 IN SE_NICLK_IO 0 CLK_A>; |
| 185 | rxd1 = <&pio1 5 ALT1 IN SE_NICLK_IO 0 CLK_A>; |
| 186 | rxd2 = <&pio1 6 ALT1 IN SE_NICLK_IO 0 CLK_A>; |
| 187 | rxd3 = <&pio1 7 ALT1 IN SE_NICLK_IO 0 CLK_A>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 188 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 189 | rxdv = <&pio2 0 ALT1 IN SE_NICLK_IO 0 CLK_A>; |
| 190 | rx_er = <&pio2 1 ALT1 IN SE_NICLK_IO 0 CLK_A>; |
| 191 | rxclk = <&pio2 2 ALT1 IN NICLK 0 CLK_A>; |
| 192 | phyclk = <&pio2 3 ALT1 OUT NICLK 0 CLK_A>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 193 | }; |
| 194 | }; |
| 195 | pinctrl_rgmii1: rgmii1-0 { |
| 196 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 197 | txd0 = <&pio0 0 ALT1 OUT DE_IO 500 CLK_A>; |
| 198 | txd1 = <&pio0 1 ALT1 OUT DE_IO 500 CLK_A>; |
| 199 | txd2 = <&pio0 2 ALT1 OUT DE_IO 500 CLK_A>; |
| 200 | txd3 = <&pio0 3 ALT1 OUT DE_IO 500 CLK_A>; |
| 201 | txen = <&pio0 5 ALT1 OUT DE_IO 0 CLK_A>; |
| 202 | txclk = <&pio0 6 ALT1 IN NICLK 0 CLK_A>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 203 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 204 | mdio = <&pio1 0 ALT1 OUT BYPASS 0>; |
| 205 | mdc = <&pio1 1 ALT1 OUT NICLK 0 CLK_A>; |
| 206 | rxd0 = <&pio1 4 ALT1 IN DE_IO 500 CLK_A>; |
| 207 | rxd1 = <&pio1 5 ALT1 IN DE_IO 500 CLK_A>; |
| 208 | rxd2 = <&pio1 6 ALT1 IN DE_IO 500 CLK_A>; |
| 209 | rxd3 = <&pio1 7 ALT1 IN DE_IO 500 CLK_A>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 210 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 211 | rxdv = <&pio2 0 ALT1 IN DE_IO 500 CLK_A>; |
| 212 | rxclk = <&pio2 2 ALT1 IN NICLK 0 CLK_A>; |
| 213 | phyclk = <&pio2 3 ALT4 OUT NICLK 0 CLK_B>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 214 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 215 | clk125= <&pio3 7 ALT4 IN NICLK 0 CLK_A>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 216 | }; |
| 217 | }; |
| 218 | }; |
Lee Jones | 9723bac | 2015-05-12 14:51:00 +0200 | [diff] [blame^] | 219 | |
| 220 | pwm1 { |
| 221 | pinctrl_pwm1_chan0_default: pwm1-0-default { |
| 222 | st,pins { |
| 223 | pwm-out = <&pio3 0 ALT1 OUT>; |
| 224 | }; |
| 225 | }; |
| 226 | pinctrl_pwm1_chan1_default: pwm1-1-default { |
| 227 | st,pins { |
| 228 | pwm-out = <&pio4 4 ALT1 OUT>; |
| 229 | }; |
| 230 | }; |
| 231 | pinctrl_pwm1_chan2_default: pwm1-2-default { |
| 232 | st,pins { |
| 233 | pwm-out = <&pio4 6 ALT3 OUT>; |
| 234 | }; |
| 235 | }; |
| 236 | pinctrl_pwm1_chan3_default: pwm1-3-default { |
| 237 | st,pins { |
| 238 | pwm-out = <&pio4 7 ALT3 OUT>; |
| 239 | }; |
| 240 | }; |
| 241 | }; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 242 | }; |
| 243 | |
| 244 | pin-controller-front { |
| 245 | #address-cells = <1>; |
| 246 | #size-cells = <1>; |
| 247 | compatible = "st,stih416-front-pinctrl"; |
| 248 | st,syscfg = <&syscfg_front>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 249 | reg = <0xfee0f080 0x4>; |
| 250 | reg-names = "irqmux"; |
| 251 | interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | ae107d0 | 2014-04-22 20:40:25 +0200 | [diff] [blame] | 252 | interrupt-names = "irqmux"; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 253 | ranges = <0 0xfee00000 0x10000>; |
| 254 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 255 | pio5: gpio@fee00000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 256 | gpio-controller; |
| 257 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 258 | interrupt-controller; |
| 259 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 260 | reg = <0 0x100>; |
| 261 | st,bank-name = "PIO5"; |
| 262 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 263 | pio6: gpio@fee01000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 264 | gpio-controller; |
| 265 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 266 | interrupt-controller; |
| 267 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 268 | reg = <0x1000 0x100>; |
| 269 | st,bank-name = "PIO6"; |
| 270 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 271 | pio7: gpio@fee02000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 272 | gpio-controller; |
| 273 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 274 | interrupt-controller; |
| 275 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 276 | reg = <0x2000 0x100>; |
| 277 | st,bank-name = "PIO7"; |
| 278 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 279 | pio8: gpio@fee03000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 280 | gpio-controller; |
| 281 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 282 | interrupt-controller; |
| 283 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 284 | reg = <0x3000 0x100>; |
| 285 | st,bank-name = "PIO8"; |
| 286 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 287 | pio9: gpio@fee04000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 288 | gpio-controller; |
| 289 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 290 | interrupt-controller; |
| 291 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 292 | reg = <0x4000 0x100>; |
| 293 | st,bank-name = "PIO9"; |
| 294 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 295 | pio10: gpio@fee05000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 296 | gpio-controller; |
| 297 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 298 | interrupt-controller; |
| 299 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 300 | reg = <0x5000 0x100>; |
| 301 | st,bank-name = "PIO10"; |
| 302 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 303 | pio11: gpio@fee06000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 304 | gpio-controller; |
| 305 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 306 | interrupt-controller; |
| 307 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 308 | reg = <0x6000 0x100>; |
| 309 | st,bank-name = "PIO11"; |
| 310 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 311 | pio12: gpio@fee07000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 312 | gpio-controller; |
| 313 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 314 | interrupt-controller; |
| 315 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 316 | reg = <0x7000 0x100>; |
| 317 | st,bank-name = "PIO12"; |
| 318 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 319 | pio30: gpio@fee08000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 320 | gpio-controller; |
| 321 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 322 | interrupt-controller; |
| 323 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 324 | reg = <0x8000 0x100>; |
| 325 | st,bank-name = "PIO30"; |
| 326 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 327 | pio31: gpio@fee09000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 328 | gpio-controller; |
| 329 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 330 | interrupt-controller; |
| 331 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 332 | reg = <0x9000 0x100>; |
| 333 | st,bank-name = "PIO31"; |
| 334 | }; |
Srinivas Kandagatla | 334ab91 | 2013-07-09 08:26:24 +0100 | [diff] [blame] | 335 | |
Lee Jones | 9723bac | 2015-05-12 14:51:00 +0200 | [diff] [blame^] | 336 | pwm0 { |
| 337 | pinctrl_pwm0_chan0_default: pwm0-0-default { |
| 338 | st,pins { |
| 339 | pwm-out = <&pio9 7 ALT2 OUT>; |
| 340 | }; |
| 341 | }; |
| 342 | }; |
| 343 | |
Srinivas Kandagatla | 334ab91 | 2013-07-09 08:26:24 +0100 | [diff] [blame] | 344 | serial2-oe { |
| 345 | pinctrl_serial2_oe: serial2-1 { |
| 346 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 347 | output-enable = <&pio11 3 ALT2 OUT>; |
Srinivas Kandagatla | 334ab91 | 2013-07-09 08:26:24 +0100 | [diff] [blame] | 348 | }; |
| 349 | }; |
| 350 | }; |
| 351 | |
Maxime COQUELIN | f53e99a | 2013-11-06 09:25:13 +0100 | [diff] [blame] | 352 | i2c0 { |
| 353 | pinctrl_i2c0_default: i2c0-default { |
| 354 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 355 | sda = <&pio9 3 ALT1 BIDIR>; |
| 356 | scl = <&pio9 2 ALT1 BIDIR>; |
Maxime COQUELIN | f53e99a | 2013-11-06 09:25:13 +0100 | [diff] [blame] | 357 | }; |
| 358 | }; |
| 359 | }; |
| 360 | |
Peter Griffin | 401a526 | 2014-11-17 17:47:00 +0100 | [diff] [blame] | 361 | usb { |
| 362 | pinctrl_usb0: usb0 { |
| 363 | st,pins { |
| 364 | oc-detect = <&pio9 4 ALT1 IN>; |
| 365 | pwr-enable = <&pio9 5 ALT1 OUT>; |
| 366 | }; |
| 367 | }; |
| 368 | }; |
| 369 | |
| 370 | |
Maxime COQUELIN | f53e99a | 2013-11-06 09:25:13 +0100 | [diff] [blame] | 371 | i2c1 { |
| 372 | pinctrl_i2c1_default: i2c1-default { |
| 373 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 374 | sda = <&pio12 1 ALT1 BIDIR>; |
| 375 | scl = <&pio12 0 ALT1 BIDIR>; |
Maxime COQUELIN | f53e99a | 2013-11-06 09:25:13 +0100 | [diff] [blame] | 376 | }; |
| 377 | }; |
| 378 | }; |
Lee Jones | 77f8d9b | 2014-03-21 11:33:07 +0000 | [diff] [blame] | 379 | |
| 380 | fsm { |
| 381 | pinctrl_fsm: fsm { |
| 382 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 383 | spi-fsm-clk = <&pio12 2 ALT1 OUT>; |
| 384 | spi-fsm-cs = <&pio12 3 ALT1 OUT>; |
| 385 | spi-fsm-mosi = <&pio12 4 ALT1 OUT>; |
| 386 | spi-fsm-miso = <&pio12 5 ALT1 IN>; |
| 387 | spi-fsm-hol = <&pio12 6 ALT1 OUT>; |
| 388 | spi-fsm-wp = <&pio12 7 ALT1 OUT>; |
Lee Jones | 77f8d9b | 2014-03-21 11:33:07 +0000 | [diff] [blame] | 389 | }; |
| 390 | }; |
| 391 | }; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 392 | }; |
| 393 | |
| 394 | pin-controller-rear { |
| 395 | #address-cells = <1>; |
| 396 | #size-cells = <1>; |
| 397 | compatible = "st,stih416-rear-pinctrl"; |
| 398 | st,syscfg = <&syscfg_rear>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 399 | reg = <0xfe82f080 0x4>; |
| 400 | reg-names = "irqmux"; |
| 401 | interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | ae107d0 | 2014-04-22 20:40:25 +0200 | [diff] [blame] | 402 | interrupt-names = "irqmux"; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 403 | ranges = <0 0xfe820000 0x6000>; |
| 404 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 405 | pio13: gpio@fe820000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 406 | gpio-controller; |
| 407 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 408 | interrupt-controller; |
| 409 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 410 | reg = <0 0x100>; |
| 411 | st,bank-name = "PIO13"; |
| 412 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 413 | pio14: gpio@fe821000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 414 | gpio-controller; |
| 415 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 416 | interrupt-controller; |
| 417 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 418 | reg = <0x1000 0x100>; |
| 419 | st,bank-name = "PIO14"; |
| 420 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 421 | pio15: gpio@fe822000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 422 | gpio-controller; |
| 423 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 424 | interrupt-controller; |
| 425 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 426 | reg = <0x2000 0x100>; |
| 427 | st,bank-name = "PIO15"; |
| 428 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 429 | pio16: gpio@fe823000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 430 | gpio-controller; |
| 431 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 432 | interrupt-controller; |
| 433 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 434 | reg = <0x3000 0x100>; |
| 435 | st,bank-name = "PIO16"; |
| 436 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 437 | pio17: gpio@fe824000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 438 | gpio-controller; |
| 439 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 440 | interrupt-controller; |
| 441 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 442 | reg = <0x4000 0x100>; |
| 443 | st,bank-name = "PIO17"; |
| 444 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 445 | pio18: gpio@fe825000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 446 | gpio-controller; |
| 447 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 448 | interrupt-controller; |
| 449 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 450 | reg = <0x5000 0x100>; |
| 451 | st,bank-name = "PIO18"; |
| 452 | st,retime-pin-mask = <0xf>; |
| 453 | }; |
| 454 | |
| 455 | serial2 { |
| 456 | pinctrl_serial2: serial2-0 { |
| 457 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 458 | tx = <&pio17 4 ALT2 OUT>; |
| 459 | rx = <&pio17 5 ALT2 IN>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 460 | }; |
| 461 | }; |
| 462 | }; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 463 | |
| 464 | gmac0 { |
| 465 | pinctrl_mii0: mii0 { |
| 466 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 467 | mdint = <&pio13 6 ALT2 IN BYPASS 0>; |
| 468 | txen = <&pio13 7 ALT2 OUT SE_NICLK_IO 0 CLK_A>; |
| 469 | txd0 = <&pio14 0 ALT2 OUT SE_NICLK_IO 0 CLK_A>; |
| 470 | txd1 = <&pio14 1 ALT2 OUT SE_NICLK_IO 0 CLK_A>; |
| 471 | txd2 = <&pio14 2 ALT2 OUT SE_NICLK_IO 0 CLK_B>; |
| 472 | txd3 = <&pio14 3 ALT2 OUT SE_NICLK_IO 0 CLK_B>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 473 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 474 | txclk = <&pio15 0 ALT2 IN NICLK 0 CLK_A>; |
| 475 | txer = <&pio15 1 ALT2 OUT SE_NICLK_IO 0 CLK_A>; |
| 476 | crs = <&pio15 2 ALT2 IN BYPASS 1000>; |
| 477 | col = <&pio15 3 ALT2 IN BYPASS 1000>; |
| 478 | mdio= <&pio15 4 ALT2 OUT BYPASS 1500>; |
| 479 | mdc = <&pio15 5 ALT2 OUT NICLK 0 CLK_B>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 480 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 481 | rxd0 = <&pio16 0 ALT2 IN SE_NICLK_IO 0 CLK_A>; |
| 482 | rxd1 = <&pio16 1 ALT2 IN SE_NICLK_IO 0 CLK_A>; |
| 483 | rxd2 = <&pio16 2 ALT2 IN SE_NICLK_IO 0 CLK_A>; |
| 484 | rxd3 = <&pio16 3 ALT2 IN SE_NICLK_IO 0 CLK_A>; |
| 485 | rxdv = <&pio15 6 ALT2 IN SE_NICLK_IO 0 CLK_A>; |
| 486 | rx_er = <&pio15 7 ALT2 IN SE_NICLK_IO 0 CLK_A>; |
| 487 | rxclk = <&pio17 0 ALT2 IN NICLK 0 CLK_A>; |
| 488 | phyclk = <&pio13 5 ALT2 OUT NICLK 0 CLK_B>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 489 | }; |
| 490 | }; |
| 491 | |
| 492 | pinctrl_gmii0: gmii0 { |
| 493 | st,pins { |
| 494 | }; |
| 495 | }; |
| 496 | pinctrl_rgmii0: rgmii0 { |
| 497 | st,pins { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 498 | phyclk = <&pio13 5 ALT4 OUT NICLK 0 CLK_B>; |
| 499 | txen = <&pio13 7 ALT2 OUT DE_IO 0 CLK_A>; |
| 500 | txd0 = <&pio14 0 ALT2 OUT DE_IO 500 CLK_A>; |
| 501 | txd1 = <&pio14 1 ALT2 OUT DE_IO 500 CLK_A>; |
| 502 | txd2 = <&pio14 2 ALT2 OUT DE_IO 500 CLK_B>; |
| 503 | txd3 = <&pio14 3 ALT2 OUT DE_IO 500 CLK_B>; |
| 504 | txclk = <&pio15 0 ALT2 IN NICLK 0 CLK_A>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 505 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 506 | mdio = <&pio15 4 ALT2 OUT BYPASS 0>; |
| 507 | mdc = <&pio15 5 ALT2 OUT NICLK 0 CLK_B>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 508 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 509 | rxdv = <&pio15 6 ALT2 IN DE_IO 500 CLK_A>; |
| 510 | rxd0 =<&pio16 0 ALT2 IN DE_IO 500 CLK_A>; |
| 511 | rxd1 =<&pio16 1 ALT2 IN DE_IO 500 CLK_A>; |
| 512 | rxd2 =<&pio16 2 ALT2 IN DE_IO 500 CLK_A>; |
| 513 | rxd3 =<&pio16 3 ALT2 IN DE_IO 500 CLK_A>; |
| 514 | rxclk =<&pio17 0 ALT2 IN NICLK 0 CLK_A>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 515 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 516 | clk125=<&pio17 6 ALT1 IN NICLK 0 CLK_A>; |
Srinivas Kandagatla | d25ea58 | 2014-01-29 16:20:12 +0000 | [diff] [blame] | 517 | }; |
| 518 | }; |
| 519 | }; |
Peter Griffin | 8106d21 | 2014-07-09 17:07:00 +0200 | [diff] [blame] | 520 | |
| 521 | mmc0 { |
| 522 | pinctrl_mmc0: mmc0 { |
| 523 | st,pins { |
| 524 | mmcclk = <&pio13 4 ALT4 BIDIR_PU NICLK 0 CLK_B>; |
| 525 | data0 = <&pio14 4 ALT4 BIDIR_PU BYPASS 0>; |
| 526 | data1 = <&pio14 5 ALT4 BIDIR_PU BYPASS 0>; |
| 527 | data2 = <&pio14 6 ALT4 BIDIR_PU BYPASS 0>; |
| 528 | data3 = <&pio14 7 ALT4 BIDIR_PU BYPASS 0>; |
| 529 | cmd = <&pio15 1 ALT4 BIDIR_PU BYPASS 0>; |
| 530 | wp = <&pio15 3 ALT4 IN>; |
| 531 | data4 = <&pio16 4 ALT4 BIDIR_PU BYPASS 0>; |
| 532 | data5 = <&pio16 5 ALT4 BIDIR_PU BYPASS 0>; |
| 533 | data6 = <&pio16 6 ALT4 BIDIR_PU BYPASS 0>; |
| 534 | data7 = <&pio16 7 ALT4 BIDIR_PU BYPASS 0>; |
| 535 | pwr = <&pio17 1 ALT4 OUT>; |
| 536 | cd = <&pio17 2 ALT4 IN>; |
| 537 | led = <&pio17 3 ALT4 OUT>; |
| 538 | }; |
| 539 | }; |
| 540 | }; |
| 541 | mmc1 { |
| 542 | pinctrl_mmc1: mmc1 { |
| 543 | st,pins { |
| 544 | mmcclk = <&pio15 0 ALT3 BIDIR_PU NICLK 0 CLK_B>; |
| 545 | data0 = <&pio13 7 ALT3 BIDIR_PU BYPASS 0>; |
| 546 | data1 = <&pio14 1 ALT3 BIDIR_PU BYPASS 0>; |
| 547 | data2 = <&pio14 2 ALT3 BIDIR_PU BYPASS 0>; |
| 548 | data3 = <&pio14 3 ALT3 BIDIR_PU BYPASS 0>; |
| 549 | cmd = <&pio15 4 ALT3 BIDIR_PU BYPASS 0>; |
| 550 | data4 = <&pio15 6 ALT3 BIDIR_PU BYPASS 0>; |
| 551 | data5 = <&pio15 7 ALT3 BIDIR_PU BYPASS 0>; |
| 552 | data6 = <&pio16 0 ALT3 BIDIR_PU BYPASS 0>; |
| 553 | data7 = <&pio16 1 ALT3 BIDIR_PU BYPASS 0>; |
| 554 | pwr = <&pio16 2 ALT3 OUT>; |
| 555 | nreset = <&pio13 6 ALT3 OUT>; |
| 556 | }; |
| 557 | }; |
| 558 | }; |
Peter Griffin | 401a526 | 2014-11-17 17:47:00 +0100 | [diff] [blame] | 559 | |
| 560 | usb { |
| 561 | pinctrl_usb1: usb1 { |
| 562 | st,pins { |
| 563 | oc-detect = <&pio18 0 ALT1 IN>; |
| 564 | pwr-enable = <&pio18 1 ALT1 OUT>; |
| 565 | }; |
| 566 | }; |
| 567 | pinctrl_usb2: usb2 { |
| 568 | st,pins { |
| 569 | oc-detect = <&pio18 2 ALT1 IN>; |
| 570 | pwr-enable = <&pio18 3 ALT1 OUT>; |
| 571 | }; |
| 572 | }; |
| 573 | }; |
Lee Jones | 9723bac | 2015-05-12 14:51:00 +0200 | [diff] [blame^] | 574 | |
| 575 | pwm0 { |
| 576 | pinctrl_pwm0_chan1_default: pwm0-1-default { |
| 577 | st,pins { |
| 578 | pwm-out = <&pio13 2 ALT2 OUT>; |
| 579 | }; |
| 580 | }; |
| 581 | pinctrl_pwm0_chan2_default: pwm0-2-default { |
| 582 | st,pins { |
| 583 | pwm-out = <&pio15 2 ALT4 OUT>; |
| 584 | }; |
| 585 | }; |
| 586 | pinctrl_pwm0_chan3_default: pwm0-3-default { |
| 587 | st,pins { |
| 588 | pwm-out = <&pio17 4 ALT1 OUT>; |
| 589 | }; |
| 590 | }; |
| 591 | }; |
| 592 | |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 593 | }; |
| 594 | |
| 595 | pin-controller-fvdp-fe { |
| 596 | #address-cells = <1>; |
| 597 | #size-cells = <1>; |
| 598 | compatible = "st,stih416-fvdp-fe-pinctrl"; |
| 599 | st,syscfg = <&syscfg_fvdp_fe>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 600 | reg = <0xfd6bf080 0x4>; |
| 601 | reg-names = "irqmux"; |
| 602 | interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | ae107d0 | 2014-04-22 20:40:25 +0200 | [diff] [blame] | 603 | interrupt-names = "irqmux"; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 604 | ranges = <0 0xfd6b0000 0x3000>; |
| 605 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 606 | pio100: gpio@fd6b0000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 607 | gpio-controller; |
| 608 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 609 | interrupt-controller; |
| 610 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 611 | reg = <0 0x100>; |
| 612 | st,bank-name = "PIO100"; |
| 613 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 614 | pio101: gpio@fd6b1000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 615 | gpio-controller; |
| 616 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 617 | interrupt-controller; |
| 618 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 619 | reg = <0x1000 0x100>; |
| 620 | st,bank-name = "PIO101"; |
| 621 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 622 | pio102: gpio@fd6b2000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 623 | gpio-controller; |
| 624 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 625 | interrupt-controller; |
| 626 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 627 | reg = <0x2000 0x100>; |
| 628 | st,bank-name = "PIO102"; |
| 629 | }; |
| 630 | }; |
| 631 | |
| 632 | pin-controller-fvdp-lite { |
| 633 | #address-cells = <1>; |
| 634 | #size-cells = <1>; |
| 635 | compatible = "st,stih416-fvdp-lite-pinctrl"; |
| 636 | st,syscfg = <&syscfg_fvdp_lite>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 637 | reg = <0xfd33f080 0x4>; |
| 638 | reg-names = "irqmux"; |
| 639 | interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | ae107d0 | 2014-04-22 20:40:25 +0200 | [diff] [blame] | 640 | interrupt-names = "irqmux"; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 641 | ranges = <0 0xfd330000 0x5000>; |
| 642 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 643 | pio103: gpio@fd330000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 644 | gpio-controller; |
| 645 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 646 | interrupt-controller; |
| 647 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 648 | reg = <0 0x100>; |
| 649 | st,bank-name = "PIO103"; |
| 650 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 651 | pio104: gpio@fd331000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 652 | gpio-controller; |
| 653 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 654 | interrupt-controller; |
| 655 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 656 | reg = <0x1000 0x100>; |
| 657 | st,bank-name = "PIO104"; |
| 658 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 659 | pio105: gpio@fd332000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 660 | gpio-controller; |
| 661 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 662 | interrupt-controller; |
| 663 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 664 | reg = <0x2000 0x100>; |
| 665 | st,bank-name = "PIO105"; |
| 666 | }; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 667 | pio106: gpio@fd333000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 668 | gpio-controller; |
| 669 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 670 | interrupt-controller; |
| 671 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 672 | reg = <0x3000 0x100>; |
| 673 | st,bank-name = "PIO106"; |
| 674 | }; |
| 675 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 676 | pio107: gpio@fd334000 { |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 677 | gpio-controller; |
| 678 | #gpio-cells = <1>; |
Srinivas Kandagatla | bdda8b0 | 2014-01-08 12:47:52 +0000 | [diff] [blame] | 679 | interrupt-controller; |
| 680 | #interrupt-cells = <2>; |
Srinivas Kandagatla | 15969b4 | 2013-06-25 12:15:23 +0100 | [diff] [blame] | 681 | reg = <0x4000 0x100>; |
| 682 | st,bank-name = "PIO107"; |
| 683 | st,retime-pin-mask = <0xf>; |
| 684 | }; |
| 685 | }; |
| 686 | }; |
| 687 | }; |