|
| 1 | +/* |
| 2 | + * Copyright 2013 Freescale Semiconductor, Inc. |
| 3 | + * |
| 4 | + * Author: Fabio Estevam <fabio.estevam@freescale.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 | + * published by the Free Software Foundation. |
| 9 | + * |
| 10 | + */ |
| 11 | + |
| 12 | +#include "imx6qdl-wandboard.dtsi" |
| 13 | + |
| 14 | +/ { |
| 15 | + reg_eth_phy: regulator-eth-phy { |
| 16 | + compatible = "regulator-fixed"; |
| 17 | + regulator-name = "ETH_PHY"; |
| 18 | + regulator-min-microvolt = <3300000>; |
| 19 | + regulator-max-microvolt = <3300000>; |
| 20 | + gpio = <&gpio7 13 GPIO_ACTIVE_LOW>; |
| 21 | + }; |
| 22 | +}; |
| 23 | + |
| 24 | +&i2c3 { |
| 25 | + clock-frequency = <100000>; |
| 26 | + pinctrl-names = "default"; |
| 27 | + pinctrl-0 = <&pinctrl_i2c3>; |
| 28 | + status = "okay"; |
| 29 | + |
| 30 | + pmic: pfuze100@08 { |
| 31 | + compatible = "fsl,pfuze100"; |
| 32 | + reg = <0x08>; |
| 33 | + |
| 34 | + regulators { |
| 35 | + sw1a_reg: sw1ab { |
| 36 | + regulator-min-microvolt = <300000>; |
| 37 | + regulator-max-microvolt = <1875000>; |
| 38 | + regulator-boot-on; |
| 39 | + regulator-always-on; |
| 40 | + regulator-ramp-delay = <6250>; |
| 41 | + }; |
| 42 | + |
| 43 | + sw1c_reg: sw1c { |
| 44 | + regulator-min-microvolt = <300000>; |
| 45 | + regulator-max-microvolt = <1875000>; |
| 46 | + regulator-boot-on; |
| 47 | + regulator-always-on; |
| 48 | + regulator-ramp-delay = <6250>; |
| 49 | + }; |
| 50 | + |
| 51 | + sw2_reg: sw2 { |
| 52 | + regulator-min-microvolt = <800000>; |
| 53 | + regulator-max-microvolt = <3300000>; |
| 54 | + regulator-boot-on; |
| 55 | + regulator-always-on; |
| 56 | + regulator-ramp-delay = <6250>; |
| 57 | + }; |
| 58 | + |
| 59 | + sw3a_reg: sw3a { |
| 60 | + regulator-min-microvolt = <400000>; |
| 61 | + regulator-max-microvolt = <1975000>; |
| 62 | + regulator-boot-on; |
| 63 | + regulator-always-on; |
| 64 | + }; |
| 65 | + |
| 66 | + sw3b_reg: sw3b { |
| 67 | + regulator-min-microvolt = <400000>; |
| 68 | + regulator-max-microvolt = <1975000>; |
| 69 | + regulator-boot-on; |
| 70 | + regulator-always-on; |
| 71 | + }; |
| 72 | + |
| 73 | + sw4_reg: sw4 { |
| 74 | + regulator-min-microvolt = <800000>; |
| 75 | + regulator-max-microvolt = <3300000>; |
| 76 | + }; |
| 77 | + |
| 78 | + swbst_reg: swbst { |
| 79 | + regulator-min-microvolt = <5000000>; |
| 80 | + regulator-max-microvolt = <5150000>; |
| 81 | + }; |
| 82 | + |
| 83 | + snvs_reg: vsnvs { |
| 84 | + regulator-min-microvolt = <1000000>; |
| 85 | + regulator-max-microvolt = <3000000>; |
| 86 | + regulator-boot-on; |
| 87 | + regulator-always-on; |
| 88 | + }; |
| 89 | + |
| 90 | + vref_reg: vrefddr { |
| 91 | + regulator-boot-on; |
| 92 | + regulator-always-on; |
| 93 | + }; |
| 94 | + |
| 95 | + vgen1_reg: vgen1 { |
| 96 | + regulator-min-microvolt = <800000>; |
| 97 | + regulator-max-microvolt = <1550000>; |
| 98 | + }; |
| 99 | + |
| 100 | + vgen2_reg: vgen2 { |
| 101 | + regulator-min-microvolt = <1500000>; |
| 102 | + regulator-max-microvolt = <1500000>; |
| 103 | + regulator-boot-on; |
| 104 | + regulator-always-on; |
| 105 | + }; |
| 106 | + |
| 107 | + vgen3_reg: vgen3 { |
| 108 | + regulator-min-microvolt = <1800000>; |
| 109 | + regulator-max-microvolt = <3300000>; |
| 110 | + regulator-always-on; |
| 111 | + }; |
| 112 | + |
| 113 | + vgen4_reg: vgen4 { |
| 114 | + regulator-min-microvolt = <1800000>; |
| 115 | + regulator-max-microvolt = <3300000>; |
| 116 | + regulator-always-on; |
| 117 | + }; |
| 118 | + |
| 119 | + vgen5_reg: vgen5 { |
| 120 | + regulator-min-microvolt = <1800000>; |
| 121 | + regulator-max-microvolt = <3300000>; |
| 122 | + regulator-always-on; |
| 123 | + }; |
| 124 | + |
| 125 | + vgen6_reg: vgen6 { |
| 126 | + regulator-min-microvolt = <1800000>; |
| 127 | + regulator-max-microvolt = <3300000>; |
| 128 | + regulator-always-on; |
| 129 | + }; |
| 130 | + }; |
| 131 | + }; |
| 132 | +}; |
| 133 | + |
| 134 | +&fec { |
| 135 | + phy-supply = <®_eth_phy>; |
| 136 | + status = "okay"; |
| 137 | +}; |
| 138 | + |
| 139 | +&iomuxc { |
| 140 | + pinctrl-0 = <&pinctrl_hog>; |
| 141 | + |
| 142 | + imx6qdl-wandboard { |
| 143 | + pinctrl_hog: hoggrp { |
| 144 | + fsl,pins = < |
| 145 | + MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 |
| 146 | + MX6QDL_PAD_EIM_D22__USB_OTG_PWR 0x80000000 /* USB Power Enable */ |
| 147 | + MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000 /* USDHC1 CD */ |
| 148 | + MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0x80000000 /* uSDHC3 CD */ |
| 149 | + MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1f0b1 /* RGMII PHY reset */ |
| 150 | + >; |
| 151 | + }; |
| 152 | + |
| 153 | + pinctrl_enet: enetgrp { |
| 154 | + fsl,pins = < |
| 155 | + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 |
| 156 | + MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 |
| 157 | + MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030 |
| 158 | + MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030 |
| 159 | + MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030 |
| 160 | + MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030 |
| 161 | + MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030 |
| 162 | + MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030 |
| 163 | + MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 |
| 164 | + MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 |
| 165 | + MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030 |
| 166 | + MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030 |
| 167 | + MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 |
| 168 | + MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 |
| 169 | + MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030 |
| 170 | + MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1 |
| 171 | + >; |
| 172 | + }; |
| 173 | + |
| 174 | + pinctrl_i2c3: i2c3grp { |
| 175 | + fsl,pins = < |
| 176 | + MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1 |
| 177 | + MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1 |
| 178 | + >; |
| 179 | + }; |
| 180 | + |
| 181 | + pinctrl_spdif: spdifgrp { |
| 182 | + fsl,pins = < |
| 183 | + MX6QDL_PAD_GPIO_19__SPDIF_OUT 0x1b0b0 |
| 184 | + >; |
| 185 | + }; |
| 186 | + }; |
| 187 | +}; |
| 188 | + |
| 189 | +&usdhc2 { |
| 190 | + pinctrl-names = "default"; |
| 191 | + pinctrl-0 = <&pinctrl_usdhc2>; |
| 192 | + bus-width = <4>; |
| 193 | + no-1-8-v; |
| 194 | + non-removable; |
| 195 | + status = "okay"; |
| 196 | +}; |
0 commit comments