1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Copyright (C) 2016 Christoph Fritz <chf.frit 3 * Copyright (C) 2016 Christoph Fritz <chf.fritz@googlemail.com> 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/input/input.h> 10 #include "imx6sx.dtsi" 10 #include "imx6sx.dtsi" 11 11 12 / { 12 / { 13 model = "Softing VIN|ING 2000"; 13 model = "Softing VIN|ING 2000"; 14 compatible = "samtec,imx6sx-vining-200 14 compatible = "samtec,imx6sx-vining-2000", "fsl,imx6sx"; 15 15 16 chosen { 16 chosen { 17 stdout-path = &uart1; 17 stdout-path = &uart1; 18 }; 18 }; 19 19 20 memory@80000000 { 20 memory@80000000 { 21 device_type = "memory"; 21 device_type = "memory"; 22 reg = <0x80000000 0x40000000>; 22 reg = <0x80000000 0x40000000>; 23 }; 23 }; 24 24 25 reg_usb_otg1_vbus: regulator-usb_otg1_ 25 reg_usb_otg1_vbus: regulator-usb_otg1_vbus { 26 compatible = "regulator-fixed" 26 compatible = "regulator-fixed"; 27 regulator-name = "usb_otg1_vbu 27 regulator-name = "usb_otg1_vbus"; 28 pinctrl-names = "default"; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&pinctrl_usb_otg1 29 pinctrl-0 = <&pinctrl_usb_otg1>; 30 regulator-min-microvolt = <500 30 regulator-min-microvolt = <5000000>; 31 regulator-max-microvolt = <500 31 regulator-max-microvolt = <5000000>; 32 gpio = <&gpio1 9 GPIO_ACTIVE_H 32 gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; 33 enable-active-high; 33 enable-active-high; 34 }; 34 }; 35 35 36 reg_peri_3v3: regulator-peri_3v3 { 36 reg_peri_3v3: regulator-peri_3v3 { 37 compatible = "regulator-fixed" 37 compatible = "regulator-fixed"; 38 regulator-name = "peri_3v3"; 38 regulator-name = "peri_3v3"; 39 regulator-min-microvolt = <330 39 regulator-min-microvolt = <3300000>; 40 regulator-max-microvolt = <330 40 regulator-max-microvolt = <3300000>; 41 }; 41 }; 42 42 43 led-controller { 43 led-controller { 44 compatible = "pwm-leds"; 44 compatible = "pwm-leds"; 45 45 46 led-1 { 46 led-1 { 47 label = "red"; 47 label = "red"; 48 max-brightness = <255> 48 max-brightness = <255>; 49 pwms = <&pwm6 0 50000 49 pwms = <&pwm6 0 50000 0>; 50 }; 50 }; 51 51 52 led-2 { 52 led-2 { 53 label = "green"; 53 label = "green"; 54 max-brightness = <255> 54 max-brightness = <255>; 55 pwms = <&pwm2 0 50000 55 pwms = <&pwm2 0 50000 0>; 56 }; 56 }; 57 57 58 led-3 { 58 led-3 { 59 label = "blue"; 59 label = "blue"; 60 max-brightness = <255> 60 max-brightness = <255>; 61 pwms = <&pwm1 0 50000 61 pwms = <&pwm1 0 50000 0>; 62 }; 62 }; 63 }; 63 }; 64 }; 64 }; 65 65 66 &adc1 { 66 &adc1 { 67 vref-supply = <®_peri_3v3>; 67 vref-supply = <®_peri_3v3>; 68 status = "okay"; 68 status = "okay"; 69 }; 69 }; 70 70 71 &cpu0 { 71 &cpu0 { 72 /* 72 /* 73 * This board has a shared rail of reg 73 * This board has a shared rail of reg_arm and reg_soc (supplied by 74 * sw1a_reg) which is modeled below, b 74 * sw1a_reg) which is modeled below, but still this module behaves 75 * unstable without higher voltages. H 75 * unstable without higher voltages. Hence, set higher voltages here. 76 */ 76 */ 77 operating-points = < 77 operating-points = < 78 /* kHz uV */ 78 /* kHz uV */ 79 996000 1250000 79 996000 1250000 80 792000 1175000 80 792000 1175000 81 396000 1175000 81 396000 1175000 82 198000 1175000 82 198000 1175000 83 >; 83 >; 84 fsl,soc-operating-points = < 84 fsl,soc-operating-points = < 85 /* ARM kHz SOC uV */ 85 /* ARM kHz SOC uV */ 86 996000 1250000 86 996000 1250000 87 792000 1175000 87 792000 1175000 88 396000 1175000 88 396000 1175000 89 198000 1175000 89 198000 1175000 90 >; 90 >; 91 }; 91 }; 92 92 93 &ecspi4 { 93 &ecspi4 { 94 pinctrl-names = "default"; 94 pinctrl-names = "default"; 95 pinctrl-0 = <&pinctrl_ecspi4>; 95 pinctrl-0 = <&pinctrl_ecspi4>; 96 cs-gpios = <&gpio7 4 GPIO_ACTIVE_LOW>; 96 cs-gpios = <&gpio7 4 GPIO_ACTIVE_LOW>; 97 status = "okay"; 97 status = "okay"; 98 }; 98 }; 99 99 100 &fec1 { 100 &fec1 { 101 pinctrl-names = "default"; 101 pinctrl-names = "default"; 102 pinctrl-0 = <&pinctrl_enet1>; 102 pinctrl-0 = <&pinctrl_enet1>; 103 phy-supply = <®_peri_3v3>; 103 phy-supply = <®_peri_3v3>; 104 phy-reset-gpios = <&gpio5 9 GPIO_ACTIV 104 phy-reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; 105 phy-reset-duration = <5>; 105 phy-reset-duration = <5>; 106 phy-mode = "rmii"; 106 phy-mode = "rmii"; 107 phy-handle = <ðphy0>; 107 phy-handle = <ðphy0>; 108 status = "okay"; 108 status = "okay"; 109 109 110 mdio { 110 mdio { 111 #address-cells = <1>; 111 #address-cells = <1>; 112 #size-cells = <0>; 112 #size-cells = <0>; 113 113 114 ethphy0: ethernet0-phy@0 { 114 ethphy0: ethernet0-phy@0 { 115 reg = <0>; 115 reg = <0>; 116 max-speed = <100>; 116 max-speed = <100>; 117 interrupt-parent = <&g 117 interrupt-parent = <&gpio2>; 118 interrupts = <17 IRQ_T 118 interrupts = <17 IRQ_TYPE_LEVEL_LOW>; 119 }; 119 }; 120 }; 120 }; 121 }; 121 }; 122 122 123 &fec2 { 123 &fec2 { 124 pinctrl-names = "default"; 124 pinctrl-names = "default"; 125 pinctrl-0 = <&pinctrl_enet2>; 125 pinctrl-0 = <&pinctrl_enet2>; 126 phy-supply = <®_peri_3v3>; 126 phy-supply = <®_peri_3v3>; 127 phy-reset-gpios = <&gpio5 21 GPIO_ACTI 127 phy-reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>; 128 phy-reset-duration = <5>; 128 phy-reset-duration = <5>; 129 phy-mode = "rmii"; 129 phy-mode = "rmii"; 130 phy-handle = <ðphy1>; 130 phy-handle = <ðphy1>; 131 status = "okay"; 131 status = "okay"; 132 132 133 mdio { 133 mdio { 134 #address-cells = <1>; 134 #address-cells = <1>; 135 #size-cells = <0>; 135 #size-cells = <0>; 136 136 137 ethphy1: ethernet1-phy@0 { 137 ethphy1: ethernet1-phy@0 { 138 reg = <0>; 138 reg = <0>; 139 max-speed = <100>; 139 max-speed = <100>; 140 interrupt-parent = <&g 140 interrupt-parent = <&gpio2>; 141 interrupts = <19 IRQ_T 141 interrupts = <19 IRQ_TYPE_LEVEL_LOW>; 142 }; 142 }; 143 }; 143 }; 144 }; 144 }; 145 145 146 &flexcan1 { 146 &flexcan1 { 147 pinctrl-names = "default"; 147 pinctrl-names = "default"; 148 pinctrl-0 = <&pinctrl_flexcan1>; 148 pinctrl-0 = <&pinctrl_flexcan1>; 149 status = "okay"; 149 status = "okay"; 150 }; 150 }; 151 151 152 &flexcan2 { 152 &flexcan2 { 153 pinctrl-names = "default"; 153 pinctrl-names = "default"; 154 pinctrl-0 = <&pinctrl_flexcan2>; 154 pinctrl-0 = <&pinctrl_flexcan2>; 155 status = "okay"; 155 status = "okay"; 156 }; 156 }; 157 157 158 &i2c1 { 158 &i2c1 { 159 clock-frequency = <100000>; 159 clock-frequency = <100000>; 160 pinctrl-names = "default"; 160 pinctrl-names = "default"; 161 pinctrl-0 = <&pinctrl_i2c1>; 161 pinctrl-0 = <&pinctrl_i2c1>; 162 status = "okay"; 162 status = "okay"; 163 163 164 proximity: sx9500@28 { 164 proximity: sx9500@28 { 165 compatible = "semtech,sx9500"; 165 compatible = "semtech,sx9500"; 166 reg = <0x28>; 166 reg = <0x28>; 167 pinctrl-names = "default"; 167 pinctrl-names = "default"; 168 pinctrl-0 = <&pinctrl_sx9500>; 168 pinctrl-0 = <&pinctrl_sx9500>; 169 interrupt-parent = <&gpio2>; 169 interrupt-parent = <&gpio2>; 170 interrupts = <16 IRQ_TYPE_LEVE 170 interrupts = <16 IRQ_TYPE_LEVEL_LOW>; 171 reset-gpios = <&gpio2 10 GPIO_ 171 reset-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; 172 }; 172 }; 173 173 174 pmic: pmic@8 { 174 pmic: pmic@8 { 175 compatible = "fsl,pfuze200"; 175 compatible = "fsl,pfuze200"; 176 reg = <0x08>; 176 reg = <0x08>; 177 177 178 regulators { 178 regulators { 179 sw1a_reg: sw1ab { 179 sw1a_reg: sw1ab { 180 regulator-min- 180 regulator-min-microvolt = <300000>; 181 regulator-max- 181 regulator-max-microvolt = <1875000>; 182 regulator-boot 182 regulator-boot-on; 183 regulator-alwa 183 regulator-always-on; 184 regulator-ramp 184 regulator-ramp-delay = <6250>; 185 }; 185 }; 186 186 187 sw2_reg: sw2 { 187 sw2_reg: sw2 { 188 regulator-min- 188 regulator-min-microvolt = <800000>; 189 regulator-max- 189 regulator-max-microvolt = <3300000>; 190 regulator-boot 190 regulator-boot-on; 191 regulator-alwa 191 regulator-always-on; 192 }; 192 }; 193 193 194 sw3a_reg: sw3a { 194 sw3a_reg: sw3a { 195 regulator-min- 195 regulator-min-microvolt = <400000>; 196 regulator-max- 196 regulator-max-microvolt = <1975000>; 197 regulator-boot 197 regulator-boot-on; 198 regulator-alwa 198 regulator-always-on; 199 }; 199 }; 200 200 201 sw3b_reg: sw3b { 201 sw3b_reg: sw3b { 202 regulator-min- 202 regulator-min-microvolt = <400000>; 203 regulator-max- 203 regulator-max-microvolt = <1975000>; 204 regulator-boot 204 regulator-boot-on; 205 regulator-alwa 205 regulator-always-on; 206 }; 206 }; 207 207 208 snvs_reg: vsnvs { 208 snvs_reg: vsnvs { 209 regulator-min- 209 regulator-min-microvolt = <1000000>; 210 regulator-max- 210 regulator-max-microvolt = <3000000>; 211 regulator-boot 211 regulator-boot-on; 212 regulator-alwa 212 regulator-always-on; 213 }; 213 }; 214 214 215 vref_reg: vrefddr { 215 vref_reg: vrefddr { 216 regulator-boot 216 regulator-boot-on; 217 regulator-alwa 217 regulator-always-on; 218 }; 218 }; 219 219 220 vgen1_reg: vgen1 { 220 vgen1_reg: vgen1 { 221 regulator-min- 221 regulator-min-microvolt = <800000>; 222 regulator-max- 222 regulator-max-microvolt = <1550000>; 223 regulator-alwa 223 regulator-always-on; 224 }; 224 }; 225 225 226 vgen2_reg: vgen2 { 226 vgen2_reg: vgen2 { 227 regulator-min- 227 regulator-min-microvolt = <800000>; 228 regulator-max- 228 regulator-max-microvolt = <1550000>; 229 }; 229 }; 230 230 231 vgen3_reg: vgen3 { 231 vgen3_reg: vgen3 { 232 regulator-min- 232 regulator-min-microvolt = <1800000>; 233 regulator-max- 233 regulator-max-microvolt = <3300000>; 234 regulator-alwa 234 regulator-always-on; 235 }; 235 }; 236 236 237 vgen4_reg: vgen4 { 237 vgen4_reg: vgen4 { 238 regulator-min- 238 regulator-min-microvolt = <1800000>; 239 regulator-max- 239 regulator-max-microvolt = <3300000>; 240 regulator-alwa 240 regulator-always-on; 241 }; 241 }; 242 242 243 vgen5_reg: vgen5 { 243 vgen5_reg: vgen5 { 244 regulator-min- 244 regulator-min-microvolt = <1800000>; 245 regulator-max- 245 regulator-max-microvolt = <3300000>; 246 regulator-alwa 246 regulator-always-on; 247 }; 247 }; 248 248 249 vgen6_reg: vgen6 { 249 vgen6_reg: vgen6 { 250 regulator-min- 250 regulator-min-microvolt = <1800000>; 251 regulator-max- 251 regulator-max-microvolt = <3300000>; 252 regulator-alwa 252 regulator-always-on; 253 }; 253 }; 254 }; 254 }; 255 }; 255 }; 256 }; 256 }; 257 257 258 &i2c3 { 258 &i2c3 { 259 clock-frequency = <100000>; 259 clock-frequency = <100000>; 260 pinctrl-names = "default"; 260 pinctrl-names = "default"; 261 pinctrl-0 = <&pinctrl_i2c3>; 261 pinctrl-0 = <&pinctrl_i2c3>; 262 status = "okay"; 262 status = "okay"; 263 }; 263 }; 264 264 265 &iomuxc { 265 &iomuxc { 266 pinctrl-names = "default"; 266 pinctrl-names = "default"; 267 pinctrl-0 = <&pinctrl_gpios>; 267 pinctrl-0 = <&pinctrl_gpios>; 268 268 269 pinctrl_ecspi4: ecspi4grp { 269 pinctrl_ecspi4: ecspi4grp { 270 fsl,pins = < 270 fsl,pins = < 271 MX6SX_PAD_SD3_CLK__ECS 271 MX6SX_PAD_SD3_CLK__ECSPI4_SCLK 0x130b1 272 MX6SX_PAD_SD3_DATA3__E 272 MX6SX_PAD_SD3_DATA3__ECSPI4_MISO 0x130b1 273 MX6SX_PAD_SD3_CMD__ECS 273 MX6SX_PAD_SD3_CMD__ECSPI4_MOSI 0x130b1 274 MX6SX_PAD_SD3_DATA2__G 274 MX6SX_PAD_SD3_DATA2__GPIO7_IO_4 0x30b0 275 >; 275 >; 276 }; 276 }; 277 277 278 pinctrl_enet1: enet1grp { 278 pinctrl_enet1: enet1grp { 279 fsl,pins = < 279 fsl,pins = < 280 MX6SX_PAD_RGMII1_RD0__ 280 MX6SX_PAD_RGMII1_RD0__ENET1_RX_DATA_0 0x30c1 281 MX6SX_PAD_RGMII1_RD1__ 281 MX6SX_PAD_RGMII1_RD1__ENET1_RX_DATA_1 0x30c1 282 MX6SX_PAD_RGMII1_TD0__ 282 MX6SX_PAD_RGMII1_TD0__ENET1_TX_DATA_0 0xa0f9 283 MX6SX_PAD_RGMII1_TD1__ 283 MX6SX_PAD_RGMII1_TD1__ENET1_TX_DATA_1 0xa0f9 284 MX6SX_PAD_RGMII1_RX_CT 284 MX6SX_PAD_RGMII1_RX_CTL__ENET1_RX_EN 0x30c1 285 MX6SX_PAD_RGMII1_TX_CT 285 MX6SX_PAD_RGMII1_TX_CTL__ENET1_TX_EN 0xa0f9 286 MX6SX_PAD_ENET1_TX_CLK 286 MX6SX_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4000a038 287 /* LAN8720 PHY Reset * 287 /* LAN8720 PHY Reset */ 288 MX6SX_PAD_RGMII1_TD3__ 288 MX6SX_PAD_RGMII1_TD3__GPIO5_IO_9 0x10b0 289 /* MDIO */ 289 /* MDIO */ 290 MX6SX_PAD_ENET1_MDC__E 290 MX6SX_PAD_ENET1_MDC__ENET1_MDC 0xa0f9 291 MX6SX_PAD_ENET1_MDIO__ 291 MX6SX_PAD_ENET1_MDIO__ENET1_MDIO 0xa0f9 292 /* IRQ from PHY */ 292 /* IRQ from PHY */ 293 MX6SX_PAD_KEY_ROW2__GP 293 MX6SX_PAD_KEY_ROW2__GPIO2_IO_17 0x10b0 294 >; 294 >; 295 }; 295 }; 296 296 297 pinctrl_enet2: enet2grp { 297 pinctrl_enet2: enet2grp { 298 fsl,pins = < 298 fsl,pins = < 299 MX6SX_PAD_RGMII2_TD0__ 299 MX6SX_PAD_RGMII2_TD0__ENET2_TX_DATA_0 0x1b0b0 300 MX6SX_PAD_RGMII2_TD1__ 300 MX6SX_PAD_RGMII2_TD1__ENET2_TX_DATA_1 0x1b0b0 301 MX6SX_PAD_RGMII2_RD0__ 301 MX6SX_PAD_RGMII2_RD0__ENET2_RX_DATA_0 0x1b0b0 302 MX6SX_PAD_RGMII2_RD1__ 302 MX6SX_PAD_RGMII2_RD1__ENET2_RX_DATA_1 0x1b0b0 303 MX6SX_PAD_RGMII2_RX_CT 303 MX6SX_PAD_RGMII2_RX_CTL__ENET2_RX_EN 0x1b0b0 304 MX6SX_PAD_RGMII2_TX_CT 304 MX6SX_PAD_RGMII2_TX_CTL__ENET2_TX_EN 0x1b0b0 305 MX6SX_PAD_ENET2_TX_CLK 305 MX6SX_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4000a038 306 /* LAN8720 PHY Reset * 306 /* LAN8720 PHY Reset */ 307 MX6SX_PAD_RGMII2_TD3__ 307 MX6SX_PAD_RGMII2_TD3__GPIO5_IO_21 0x10b0 308 /* MDIO */ 308 /* MDIO */ 309 MX6SX_PAD_ENET1_COL__E 309 MX6SX_PAD_ENET1_COL__ENET2_MDC 0xa0f9 310 MX6SX_PAD_ENET1_CRS__E 310 MX6SX_PAD_ENET1_CRS__ENET2_MDIO 0xa0f9 311 /* IRQ from PHY */ 311 /* IRQ from PHY */ 312 MX6SX_PAD_KEY_ROW4__GP 312 MX6SX_PAD_KEY_ROW4__GPIO2_IO_19 0x10b0 313 >; 313 >; 314 }; 314 }; 315 315 316 pinctrl_flexcan1: flexcan1grp { 316 pinctrl_flexcan1: flexcan1grp { 317 fsl,pins = < 317 fsl,pins = < 318 MX6SX_PAD_QSPI1B_DQS__ 318 MX6SX_PAD_QSPI1B_DQS__CAN1_TX 0x1b0b0 319 MX6SX_PAD_QSPI1A_SS1_B 319 MX6SX_PAD_QSPI1A_SS1_B__CAN1_RX 0x1b0b0 320 >; 320 >; 321 }; 321 }; 322 322 323 pinctrl_flexcan2: flexcan2grp { 323 pinctrl_flexcan2: flexcan2grp { 324 fsl,pins = < 324 fsl,pins = < 325 MX6SX_PAD_QSPI1B_SS1_B 325 MX6SX_PAD_QSPI1B_SS1_B__CAN2_RX 0x1b0b0 326 MX6SX_PAD_QSPI1A_DQS__ 326 MX6SX_PAD_QSPI1A_DQS__CAN2_TX 0x1b0b0 327 >; 327 >; 328 }; 328 }; 329 329 330 pinctrl_gpios: gpiosgrp { 330 pinctrl_gpios: gpiosgrp { 331 fsl,pins = < 331 fsl,pins = < 332 /* reset external uC * 332 /* reset external uC */ 333 MX6SX_PAD_QSPI1A_DATA3 333 MX6SX_PAD_QSPI1A_DATA3__GPIO4_IO_19 0x10b0 334 /* IRQ from external u 334 /* IRQ from external uC */ 335 MX6SX_PAD_KEY_ROW0__GP 335 MX6SX_PAD_KEY_ROW0__GPIO2_IO_15 0x10b0 336 /* overcurrent detecti 336 /* overcurrent detection */ 337 MX6SX_PAD_GPIO1_IO08__ 337 MX6SX_PAD_GPIO1_IO08__GPIO1_IO_8 0x10b0 338 >; 338 >; 339 }; 339 }; 340 340 341 pinctrl_i2c1: i2c1grp { 341 pinctrl_i2c1: i2c1grp { 342 fsl,pins = < 342 fsl,pins = < 343 MX6SX_PAD_GPIO1_IO01__ 343 MX6SX_PAD_GPIO1_IO01__I2C1_SDA 0x4001b8b1 344 MX6SX_PAD_GPIO1_IO00__ 344 MX6SX_PAD_GPIO1_IO00__I2C1_SCL 0x4001b8b1 345 >; 345 >; 346 }; 346 }; 347 347 348 pinctrl_i2c3: i2c3grp { 348 pinctrl_i2c3: i2c3grp { 349 fsl,pins = < 349 fsl,pins = < 350 MX6SX_PAD_NAND_ALE__I2 350 MX6SX_PAD_NAND_ALE__I2C3_SDA 0x4001b8b1 351 MX6SX_PAD_NAND_CLE__I2 351 MX6SX_PAD_NAND_CLE__I2C3_SCL 0x4001b8b1 352 >; 352 >; 353 }; 353 }; 354 354 355 pinctrl_pcie: pciegrp { 355 pinctrl_pcie: pciegrp { 356 fsl,pins = < 356 fsl,pins = < 357 MX6SX_PAD_NAND_DATA02_ 357 MX6SX_PAD_NAND_DATA02__GPIO4_IO_6 0x10b0 358 >; 358 >; 359 }; 359 }; 360 360 361 pinctrl_pwm1: pwm1grp-1 { 361 pinctrl_pwm1: pwm1grp-1 { 362 fsl,pins = < 362 fsl,pins = < 363 /* blue LED */ 363 /* blue LED */ 364 MX6SX_PAD_RGMII2_RD3__ 364 MX6SX_PAD_RGMII2_RD3__PWM1_OUT 0x1b0b1 365 >; 365 >; 366 }; 366 }; 367 367 368 pinctrl_pwm2: pwm2grp-1 { 368 pinctrl_pwm2: pwm2grp-1 { 369 fsl,pins = < 369 fsl,pins = < 370 /* green LED */ 370 /* green LED */ 371 MX6SX_PAD_RGMII2_RD2__ 371 MX6SX_PAD_RGMII2_RD2__PWM2_OUT 0x1b0b1 372 >; 372 >; 373 }; 373 }; 374 374 375 pinctrl_pwm6: pwm6grp-1 { 375 pinctrl_pwm6: pwm6grp-1 { 376 fsl,pins = < 376 fsl,pins = < 377 /* red LED */ 377 /* red LED */ 378 MX6SX_PAD_RGMII2_TD2__ 378 MX6SX_PAD_RGMII2_TD2__PWM6_OUT 0x1b0b1 379 >; 379 >; 380 }; 380 }; 381 381 382 pinctrl_sx9500: sx9500grp { 382 pinctrl_sx9500: sx9500grp { 383 fsl,pins = < 383 fsl,pins = < 384 /* Reset */ 384 /* Reset */ 385 MX6SX_PAD_KEY_COL0__GP 385 MX6SX_PAD_KEY_COL0__GPIO2_IO_10 0x838 386 /* IRQ */ 386 /* IRQ */ 387 MX6SX_PAD_KEY_ROW1__GP 387 MX6SX_PAD_KEY_ROW1__GPIO2_IO_16 0x70e0 388 >; 388 >; 389 }; 389 }; 390 390 391 pinctrl_uart1: uart1grp { 391 pinctrl_uart1: uart1grp { 392 fsl,pins = < 392 fsl,pins = < 393 MX6SX_PAD_GPIO1_IO04__ 393 MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1 394 MX6SX_PAD_GPIO1_IO05__ 394 MX6SX_PAD_GPIO1_IO05__UART1_DCE_RX 0x1b0b1 395 >; 395 >; 396 }; 396 }; 397 397 398 pinctrl_uart2: uart2grp { 398 pinctrl_uart2: uart2grp { 399 fsl,pins = < 399 fsl,pins = < 400 MX6SX_PAD_GPIO1_IO06__ 400 MX6SX_PAD_GPIO1_IO06__UART2_DCE_TX 0x1b0b1 401 MX6SX_PAD_GPIO1_IO07__ 401 MX6SX_PAD_GPIO1_IO07__UART2_DCE_RX 0x1b0b1 402 >; 402 >; 403 }; 403 }; 404 404 405 pinctrl_usb_otg1: usbotg1grp { 405 pinctrl_usb_otg1: usbotg1grp { 406 fsl,pins = < 406 fsl,pins = < 407 MX6SX_PAD_GPIO1_IO09__ 407 MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9 0x10b0 408 >; 408 >; 409 }; 409 }; 410 410 411 pinctrl_usb_otg1_id: usbotg1idgrp { 411 pinctrl_usb_otg1_id: usbotg1idgrp { 412 fsl,pins = < 412 fsl,pins = < 413 MX6SX_PAD_GPIO1_IO10__ 413 MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID 0x17059 414 >; 414 >; 415 }; 415 }; 416 416 417 pinctrl_usdhc2_50mhz: usdhc2grp-50mhz 417 pinctrl_usdhc2_50mhz: usdhc2grp-50mhz { 418 fsl,pins = < 418 fsl,pins = < 419 MX6SX_PAD_SD2_CLK__USD 419 MX6SX_PAD_SD2_CLK__USDHC2_CLK 0x10059 420 MX6SX_PAD_SD2_CMD__USD 420 MX6SX_PAD_SD2_CMD__USDHC2_CMD 0x17059 421 MX6SX_PAD_SD2_DATA0__U 421 MX6SX_PAD_SD2_DATA0__USDHC2_DATA0 0x17059 422 MX6SX_PAD_SD2_DATA1__U 422 MX6SX_PAD_SD2_DATA1__USDHC2_DATA1 0x17059 423 MX6SX_PAD_SD2_DATA2__U 423 MX6SX_PAD_SD2_DATA2__USDHC2_DATA2 0x17059 424 MX6SX_PAD_SD2_DATA3__U 424 MX6SX_PAD_SD2_DATA3__USDHC2_DATA3 0x17059 425 MX6SX_PAD_LCD1_VSYNC__ 425 MX6SX_PAD_LCD1_VSYNC__GPIO3_IO_28 0x1b000 426 MX6SX_PAD_LCD1_HSYNC__ 426 MX6SX_PAD_LCD1_HSYNC__GPIO3_IO_26 0x10b0 427 >; 427 >; 428 }; 428 }; 429 429 430 pinctrl_usdhc2_100mhz: usdhc2grp-100mh 430 pinctrl_usdhc2_100mhz: usdhc2grp-100mhz { 431 fsl,pins = < 431 fsl,pins = < 432 MX6SX_PAD_SD2_CLK__USD 432 MX6SX_PAD_SD2_CLK__USDHC2_CLK 0x100b9 433 MX6SX_PAD_SD2_CMD__USD 433 MX6SX_PAD_SD2_CMD__USDHC2_CMD 0x170b9 434 MX6SX_PAD_SD2_DATA0__U 434 MX6SX_PAD_SD2_DATA0__USDHC2_DATA0 0x170b9 435 MX6SX_PAD_SD2_DATA1__U 435 MX6SX_PAD_SD2_DATA1__USDHC2_DATA1 0x170b9 436 MX6SX_PAD_SD2_DATA2__U 436 MX6SX_PAD_SD2_DATA2__USDHC2_DATA2 0x170b9 437 MX6SX_PAD_SD2_DATA3__U 437 MX6SX_PAD_SD2_DATA3__USDHC2_DATA3 0x170b9 438 >; 438 >; 439 }; 439 }; 440 440 441 pinctrl_usdhc2_200mhz: usdhc2grp-200mh 441 pinctrl_usdhc2_200mhz: usdhc2grp-200mhz { 442 fsl,pins = < 442 fsl,pins = < 443 MX6SX_PAD_SD2_CLK__USD 443 MX6SX_PAD_SD2_CLK__USDHC2_CLK 0x100f9 444 MX6SX_PAD_SD2_CMD__USD 444 MX6SX_PAD_SD2_CMD__USDHC2_CMD 0x170f9 445 MX6SX_PAD_SD2_DATA0__U 445 MX6SX_PAD_SD2_DATA0__USDHC2_DATA0 0x170f9 446 MX6SX_PAD_SD2_DATA1__U 446 MX6SX_PAD_SD2_DATA1__USDHC2_DATA1 0x170f9 447 MX6SX_PAD_SD2_DATA2__U 447 MX6SX_PAD_SD2_DATA2__USDHC2_DATA2 0x170f9 448 MX6SX_PAD_SD2_DATA3__U 448 MX6SX_PAD_SD2_DATA3__USDHC2_DATA3 0x170f9 449 >; 449 >; 450 }; 450 }; 451 451 452 pinctrl_usdhc4_50mhz: usdhc4grp-50mhz 452 pinctrl_usdhc4_50mhz: usdhc4grp-50mhz { 453 fsl,pins = < 453 fsl,pins = < 454 MX6SX_PAD_SD4_CLK__USD 454 MX6SX_PAD_SD4_CLK__USDHC4_CLK 0x10059 455 MX6SX_PAD_SD4_CMD__USD 455 MX6SX_PAD_SD4_CMD__USDHC4_CMD 0x17059 456 MX6SX_PAD_SD4_DATA0__U 456 MX6SX_PAD_SD4_DATA0__USDHC4_DATA0 0x17059 457 MX6SX_PAD_SD4_DATA1__U 457 MX6SX_PAD_SD4_DATA1__USDHC4_DATA1 0x17059 458 MX6SX_PAD_SD4_DATA2__U 458 MX6SX_PAD_SD4_DATA2__USDHC4_DATA2 0x17059 459 MX6SX_PAD_SD4_DATA3__U 459 MX6SX_PAD_SD4_DATA3__USDHC4_DATA3 0x17059 460 MX6SX_PAD_SD4_DATA4__U 460 MX6SX_PAD_SD4_DATA4__USDHC4_DATA4 0x17059 461 MX6SX_PAD_SD4_DATA5__U 461 MX6SX_PAD_SD4_DATA5__USDHC4_DATA5 0x17059 462 MX6SX_PAD_SD4_DATA6__U 462 MX6SX_PAD_SD4_DATA6__USDHC4_DATA6 0x17059 463 MX6SX_PAD_SD4_DATA7__U 463 MX6SX_PAD_SD4_DATA7__USDHC4_DATA7 0x17059 464 MX6SX_PAD_SD4_RESET_B_ 464 MX6SX_PAD_SD4_RESET_B__USDHC4_RESET_B 0x17068 465 >; 465 >; 466 }; 466 }; 467 467 468 pinctrl_usdhc4_100mhz: usdhc4-100mhz { 468 pinctrl_usdhc4_100mhz: usdhc4-100mhz { 469 fsl,pins = < 469 fsl,pins = < 470 MX6SX_PAD_SD4_CLK__USD 470 MX6SX_PAD_SD4_CLK__USDHC4_CLK 0x100b9 471 MX6SX_PAD_SD4_CMD__USD 471 MX6SX_PAD_SD4_CMD__USDHC4_CMD 0x170b9 472 MX6SX_PAD_SD4_DATA0__U 472 MX6SX_PAD_SD4_DATA0__USDHC4_DATA0 0x170b9 473 MX6SX_PAD_SD4_DATA1__U 473 MX6SX_PAD_SD4_DATA1__USDHC4_DATA1 0x170b9 474 MX6SX_PAD_SD4_DATA2__U 474 MX6SX_PAD_SD4_DATA2__USDHC4_DATA2 0x170b9 475 MX6SX_PAD_SD4_DATA3__U 475 MX6SX_PAD_SD4_DATA3__USDHC4_DATA3 0x170b9 476 MX6SX_PAD_SD4_DATA4__U 476 MX6SX_PAD_SD4_DATA4__USDHC4_DATA4 0x170b9 477 MX6SX_PAD_SD4_DATA5__U 477 MX6SX_PAD_SD4_DATA5__USDHC4_DATA5 0x170b9 478 MX6SX_PAD_SD4_DATA6__U 478 MX6SX_PAD_SD4_DATA6__USDHC4_DATA6 0x170b9 479 MX6SX_PAD_SD4_DATA7__U 479 MX6SX_PAD_SD4_DATA7__USDHC4_DATA7 0x170b9 480 >; 480 >; 481 }; 481 }; 482 482 483 pinctrl_usdhc4_200mhz: usdhc4-200mhz { 483 pinctrl_usdhc4_200mhz: usdhc4-200mhz { 484 fsl,pins = < 484 fsl,pins = < 485 MX6SX_PAD_SD4_CLK__USD 485 MX6SX_PAD_SD4_CLK__USDHC4_CLK 0x100f9 486 MX6SX_PAD_SD4_CMD__USD 486 MX6SX_PAD_SD4_CMD__USDHC4_CMD 0x170f9 487 MX6SX_PAD_SD4_DATA0__U 487 MX6SX_PAD_SD4_DATA0__USDHC4_DATA0 0x170f9 488 MX6SX_PAD_SD4_DATA1__U 488 MX6SX_PAD_SD4_DATA1__USDHC4_DATA1 0x170f9 489 MX6SX_PAD_SD4_DATA2__U 489 MX6SX_PAD_SD4_DATA2__USDHC4_DATA2 0x170f9 490 MX6SX_PAD_SD4_DATA3__U 490 MX6SX_PAD_SD4_DATA3__USDHC4_DATA3 0x170f9 491 MX6SX_PAD_SD4_DATA4__U 491 MX6SX_PAD_SD4_DATA4__USDHC4_DATA4 0x170f9 492 MX6SX_PAD_SD4_DATA5__U 492 MX6SX_PAD_SD4_DATA5__USDHC4_DATA5 0x170f9 493 MX6SX_PAD_SD4_DATA6__U 493 MX6SX_PAD_SD4_DATA6__USDHC4_DATA6 0x170f9 494 MX6SX_PAD_SD4_DATA7__U 494 MX6SX_PAD_SD4_DATA7__USDHC4_DATA7 0x170f9 495 >; 495 >; 496 }; 496 }; 497 }; 497 }; 498 498 499 &pcie { 499 &pcie { 500 pinctrl-names = "default"; 500 pinctrl-names = "default"; 501 pinctrl-0 = <&pinctrl_pcie>; 501 pinctrl-0 = <&pinctrl_pcie>; 502 reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIG 502 reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIGH>; 503 reset-gpio-active-high; 503 reset-gpio-active-high; 504 status = "okay"; 504 status = "okay"; 505 }; 505 }; 506 506 507 &pwm1 { 507 &pwm1 { 508 pinctrl-names = "default"; 508 pinctrl-names = "default"; 509 pinctrl-0 = <&pinctrl_pwm1>; 509 pinctrl-0 = <&pinctrl_pwm1>; 510 }; 510 }; 511 511 512 &pwm2 { 512 &pwm2 { 513 pinctrl-names = "default"; 513 pinctrl-names = "default"; 514 pinctrl-0 = <&pinctrl_pwm2>; 514 pinctrl-0 = <&pinctrl_pwm2>; 515 }; 515 }; 516 516 517 &pwm6 { 517 &pwm6 { 518 pinctrl-names = "default"; 518 pinctrl-names = "default"; 519 pinctrl-0 = <&pinctrl_pwm6>; 519 pinctrl-0 = <&pinctrl_pwm6>; 520 }; 520 }; 521 521 522 ®_arm { 522 ®_arm { 523 vin-supply = <&sw1a_reg>; 523 vin-supply = <&sw1a_reg>; 524 }; 524 }; 525 525 526 ®_soc { 526 ®_soc { 527 vin-supply = <&sw1a_reg>; 527 vin-supply = <&sw1a_reg>; 528 }; 528 }; 529 529 530 &snvs_poweroff { 530 &snvs_poweroff { 531 status = "okay"; 531 status = "okay"; 532 }; 532 }; 533 533 534 &uart1 { 534 &uart1 { 535 pinctrl-names = "default"; 535 pinctrl-names = "default"; 536 pinctrl-0 = <&pinctrl_uart1>; 536 pinctrl-0 = <&pinctrl_uart1>; 537 status = "okay"; 537 status = "okay"; 538 }; 538 }; 539 539 540 &uart2 { 540 &uart2 { 541 pinctrl-names = "default"; 541 pinctrl-names = "default"; 542 pinctrl-0 = <&pinctrl_uart2>; 542 pinctrl-0 = <&pinctrl_uart2>; 543 status = "okay"; 543 status = "okay"; 544 }; 544 }; 545 545 546 &usbotg1 { 546 &usbotg1 { 547 vbus-supply = <®_usb_otg1_vbus>; 547 vbus-supply = <®_usb_otg1_vbus>; 548 pinctrl-names = "default"; 548 pinctrl-names = "default"; 549 pinctrl-0 = <&pinctrl_usb_otg1_id>; 549 pinctrl-0 = <&pinctrl_usb_otg1_id>; 550 status = "okay"; 550 status = "okay"; 551 }; 551 }; 552 552 553 &usbotg2 { 553 &usbotg2 { 554 dr_mode = "host"; 554 dr_mode = "host"; 555 status = "okay"; 555 status = "okay"; 556 }; 556 }; 557 557 558 &usdhc2 { 558 &usdhc2 { 559 pinctrl-names = "default", "state_100m 559 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 560 pinctrl-0 = <&pinctrl_usdhc2_50mhz>; 560 pinctrl-0 = <&pinctrl_usdhc2_50mhz>; 561 pinctrl-1 = <&pinctrl_usdhc2_100mhz>; 561 pinctrl-1 = <&pinctrl_usdhc2_100mhz>; 562 pinctrl-2 = <&pinctrl_usdhc2_200mhz>; 562 pinctrl-2 = <&pinctrl_usdhc2_200mhz>; 563 cd-gpios = <&gpio3 28 GPIO_ACTIVE_LOW> 563 cd-gpios = <&gpio3 28 GPIO_ACTIVE_LOW>; 564 keep-power-in-suspend; 564 keep-power-in-suspend; 565 status = "okay"; 565 status = "okay"; 566 }; 566 }; 567 567 568 &usdhc4 { 568 &usdhc4 { 569 /* hs200-mode is currently unsupported 569 /* hs200-mode is currently unsupported because Vccq is on 3.1V, but 570 * not on necessary 1.8V. 570 * not on necessary 1.8V. 571 */ 571 */ 572 pinctrl-names = "default", "state_100m 572 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 573 pinctrl-0 = <&pinctrl_usdhc4_50mhz>; 573 pinctrl-0 = <&pinctrl_usdhc4_50mhz>; 574 pinctrl-1 = <&pinctrl_usdhc4_100mhz>; 574 pinctrl-1 = <&pinctrl_usdhc4_100mhz>; 575 pinctrl-2 = <&pinctrl_usdhc4_200mhz>; 575 pinctrl-2 = <&pinctrl_usdhc4_200mhz>; 576 bus-width = <8>; 576 bus-width = <8>; 577 keep-power-in-suspend; 577 keep-power-in-suspend; 578 non-removable; 578 non-removable; 579 cap-mmc-hw-reset; 579 cap-mmc-hw-reset; 580 status = "okay"; 580 status = "okay"; 581 }; 581 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.