Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013,2014 Russell King |
| 3 | */ |
| 4 | /dts-v1/; |
| 5 | |
| 6 | #include "imx6dl.dtsi" |
| 7 | #include "imx6qdl-microsom.dtsi" |
| 8 | #include "imx6qdl-microsom-ar8035.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "SolidRun HummingBoard DL/Solo"; |
| 12 | compatible = "solidrun,hummingboard", "fsl,imx6dl"; |
| 13 | |
Sascha Hauer | 48f5196 | 2014-05-07 15:19:00 +0200 | [diff] [blame] | 14 | chosen { |
| 15 | stdout-path = &uart1; |
| 16 | }; |
| 17 | |
Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 18 | ir_recv: ir-receiver { |
| 19 | compatible = "gpio-ir-receiver"; |
| 20 | gpios = <&gpio1 2 1>; |
| 21 | pinctrl-names = "default"; |
| 22 | pinctrl-0 = <&pinctrl_hummingboard_gpio1_2>; |
| 23 | }; |
| 24 | |
| 25 | regulators { |
| 26 | compatible = "simple-bus"; |
| 27 | |
| 28 | reg_3p3v: 3p3v { |
| 29 | compatible = "regulator-fixed"; |
| 30 | regulator-name = "3P3V"; |
| 31 | regulator-min-microvolt = <3300000>; |
| 32 | regulator-max-microvolt = <3300000>; |
| 33 | regulator-always-on; |
| 34 | }; |
| 35 | |
| 36 | reg_usbh1_vbus: usb-h1-vbus { |
| 37 | compatible = "regulator-fixed"; |
| 38 | enable-active-high; |
| 39 | gpio = <&gpio1 0 0>; |
| 40 | pinctrl-names = "default"; |
| 41 | pinctrl-0 = <&pinctrl_hummingboard_usbh1_vbus>; |
| 42 | regulator-name = "usb_h1_vbus"; |
| 43 | regulator-min-microvolt = <5000000>; |
| 44 | regulator-max-microvolt = <5000000>; |
| 45 | }; |
| 46 | |
| 47 | reg_usbotg_vbus: usb-otg-vbus { |
| 48 | compatible = "regulator-fixed"; |
| 49 | enable-active-high; |
| 50 | gpio = <&gpio3 22 0>; |
| 51 | pinctrl-names = "default"; |
| 52 | pinctrl-0 = <&pinctrl_hummingboard_usbotg_vbus>; |
| 53 | regulator-name = "usb_otg_vbus"; |
| 54 | regulator-min-microvolt = <5000000>; |
| 55 | regulator-max-microvolt = <5000000>; |
| 56 | }; |
| 57 | }; |
| 58 | |
Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 59 | sound-spdif { |
| 60 | compatible = "fsl,imx-audio-spdif"; |
| 61 | model = "imx-spdif"; |
| 62 | /* IMX6 doesn't implement this yet */ |
| 63 | spdif-controller = <&spdif>; |
| 64 | spdif-out; |
| 65 | }; |
| 66 | }; |
| 67 | |
| 68 | &can1 { |
| 69 | pinctrl-names = "default"; |
| 70 | pinctrl-0 = <&pinctrl_hummingboard_flexcan1>; |
| 71 | status = "okay"; |
| 72 | }; |
| 73 | |
Russell King | f34d0d5 | 2014-04-18 11:01:27 +0100 | [diff] [blame] | 74 | &hdmi { |
| 75 | pinctrl-names = "default"; |
| 76 | pinctrl-0 = <&pinctrl_hummingboard_hdmi>; |
| 77 | ddc-i2c-bus = <&i2c2>; |
| 78 | status = "okay"; |
| 79 | }; |
| 80 | |
Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 81 | &i2c1 { |
| 82 | pinctrl-names = "default"; |
| 83 | pinctrl-0 = <&pinctrl_hummingboard_i2c1>; |
| 84 | |
| 85 | /* |
| 86 | * Not fitted on Carrier-1 board... yet |
| 87 | status = "okay"; |
| 88 | |
| 89 | rtc: pcf8523@68 { |
| 90 | compatible = "nxp,pcf8523"; |
| 91 | reg = <0x68>; |
| 92 | }; |
| 93 | */ |
| 94 | }; |
| 95 | |
Russell King | f34d0d5 | 2014-04-18 11:01:27 +0100 | [diff] [blame] | 96 | &i2c2 { |
| 97 | clock-frequency = <100000>; |
| 98 | pinctrl-names = "default"; |
| 99 | pinctrl-0 = <&pinctrl_hummingboard_i2c2>; |
| 100 | status = "okay"; |
| 101 | }; |
| 102 | |
Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 103 | &iomuxc { |
| 104 | hummingboard { |
| 105 | pinctrl_hummingboard_flexcan1: hummingboard-flexcan1 { |
| 106 | fsl,pins = < |
| 107 | MX6QDL_PAD_SD3_CLK__FLEXCAN1_RX 0x80000000 |
| 108 | MX6QDL_PAD_SD3_CMD__FLEXCAN1_TX 0x80000000 |
| 109 | >; |
| 110 | }; |
| 111 | |
| 112 | pinctrl_hummingboard_gpio1_2: hummingboard-gpio1_2 { |
| 113 | fsl,pins = < |
| 114 | MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000 |
| 115 | >; |
| 116 | }; |
| 117 | |
Russell King | f34d0d5 | 2014-04-18 11:01:27 +0100 | [diff] [blame] | 118 | pinctrl_hummingboard_hdmi: hummingboard-hdmi { |
| 119 | fsl,pins = < |
| 120 | MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0 |
| 121 | >; |
| 122 | }; |
| 123 | |
Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 124 | pinctrl_hummingboard_i2c1: hummingboard-i2c1 { |
| 125 | fsl,pins = < |
| 126 | MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 |
| 127 | MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 |
| 128 | >; |
| 129 | }; |
| 130 | |
Russell King | f34d0d5 | 2014-04-18 11:01:27 +0100 | [diff] [blame] | 131 | pinctrl_hummingboard_i2c2: hummingboard-i2c2 { |
| 132 | fsl,pins = < |
| 133 | MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 |
| 134 | MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 |
| 135 | >; |
| 136 | }; |
| 137 | |
Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 138 | pinctrl_hummingboard_spdif: hummingboard-spdif { |
Russell King | 87f9260 | 2014-02-08 21:18:24 +0000 | [diff] [blame] | 139 | fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>; |
Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 140 | }; |
| 141 | |
| 142 | pinctrl_hummingboard_usbh1_vbus: hummingboard-usbh1-vbus { |
| 143 | fsl,pins = <MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0>; |
| 144 | }; |
| 145 | |
Russell King | 589681b | 2014-06-17 14:41:01 +0100 | [diff] [blame] | 146 | pinctrl_hummingboard_usbotg_id: hummingboard-usbotg-id { |
| 147 | /* |
| 148 | * Similar to pinctrl_usbotg_2, but we want it |
| 149 | * pulled down for a fixed host connection. |
| 150 | */ |
| 151 | fsl,pins = <MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x13059>; |
| 152 | }; |
| 153 | |
Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 154 | pinctrl_hummingboard_usbotg_vbus: hummingboard-usbotg-vbus { |
| 155 | fsl,pins = <MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0>; |
| 156 | }; |
| 157 | |
| 158 | pinctrl_hummingboard_usdhc2_aux: hummingboard-usdhc2-aux { |
| 159 | fsl,pins = < |
| 160 | MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1f071 |
| 161 | >; |
| 162 | }; |
| 163 | |
| 164 | pinctrl_hummingboard_usdhc2: hummingboard-usdhc2 { |
| 165 | fsl,pins = < |
| 166 | MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059 |
| 167 | MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059 |
| 168 | MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059 |
| 169 | MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059 |
| 170 | MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059 |
| 171 | MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x13059 |
| 172 | >; |
| 173 | }; |
| 174 | }; |
| 175 | }; |
| 176 | |
| 177 | &spdif { |
Russell King | 87f9260 | 2014-02-08 21:18:24 +0000 | [diff] [blame] | 178 | pinctrl-names = "default"; |
| 179 | pinctrl-0 = <&pinctrl_hummingboard_spdif>; |
Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 180 | status = "okay"; |
| 181 | }; |
| 182 | |
| 183 | &usbh1 { |
| 184 | vbus-supply = <®_usbh1_vbus>; |
| 185 | status = "okay"; |
| 186 | }; |
| 187 | |
| 188 | &usbotg { |
Russell King | 589681b | 2014-06-17 14:41:01 +0100 | [diff] [blame] | 189 | pinctrl-names = "default"; |
| 190 | pinctrl-0 = <&pinctrl_hummingboard_usbotg_id>; |
Russell King | 208d7baf | 2013-09-27 20:07:26 +0100 | [diff] [blame] | 191 | vbus-supply = <®_usbotg_vbus>; |
| 192 | status = "okay"; |
| 193 | }; |
| 194 | |
| 195 | &usdhc2 { |
| 196 | pinctrl-names = "default"; |
| 197 | pinctrl-0 = < |
| 198 | &pinctrl_hummingboard_usdhc2_aux |
| 199 | &pinctrl_hummingboard_usdhc2 |
| 200 | >; |
| 201 | vmmc-supply = <®_3p3v>; |
| 202 | cd-gpios = <&gpio1 4 0>; |
| 203 | status = "okay"; |
| 204 | }; |