Maxime Ripard | db84c03 | 2012-08-31 16:00:41 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Free Electrons |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
| 12 | /* |
| 13 | * The CFA-10049 is an expansion board for the CFA-10036 module, thus we |
| 14 | * need to include the CFA-10036 DTS. |
| 15 | */ |
| 16 | /include/ "imx28-cfa10036.dts" |
| 17 | |
| 18 | / { |
| 19 | model = "Crystalfontz CFA-10049 Board"; |
| 20 | compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28"; |
| 21 | |
| 22 | apb@80000000 { |
Maxime Ripard | 223d1f9 | 2012-09-04 10:44:03 +0200 | [diff] [blame] | 23 | apbh@80000000 { |
| 24 | pinctrl@80018000 { |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 25 | usb_pins_cfa10049: usb-10049@0 { |
Maxime Ripard | 24196d5 | 2012-11-03 16:59:08 +0100 | [diff] [blame] | 26 | reg = <0>; |
| 27 | fsl,pinmux-ids = < |
| 28 | 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */ |
Maxime Ripard | 24196d5 | 2012-11-03 16:59:08 +0100 | [diff] [blame] | 29 | >; |
| 30 | fsl,drive-strength = <0>; |
| 31 | fsl,voltage = <1>; |
| 32 | fsl,pull-up = <0>; |
| 33 | }; |
| 34 | |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 35 | i2cmux_pins_cfa10049: i2cmux-10049@0 { |
| 36 | reg = <0>; |
| 37 | fsl,pinmux-ids = < |
| 38 | 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */ |
| 39 | 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */ |
| 40 | >; |
| 41 | fsl,drive-strength = <0>; |
| 42 | fsl,voltage = <1>; |
| 43 | fsl,pull-up = <0>; |
| 44 | }; |
| 45 | |
| 46 | mac0_pins_cfa10049: mac0-10049@0 { |
| 47 | reg = <0>; |
| 48 | fsl,pinmux-ids = < |
| 49 | 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */ |
| 50 | >; |
| 51 | fsl,drive-strength = <0>; |
| 52 | fsl,voltage = <1>; |
| 53 | fsl,pull-up = <0>; |
| 54 | }; |
| 55 | |
| 56 | pca_pins_cfa10049: pca-10049@0 { |
Maxime Ripard | 5b615fb | 2012-11-20 15:33:35 +0100 | [diff] [blame] | 57 | reg = <0>; |
| 58 | fsl,pinmux-ids = < |
| 59 | 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */ |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 60 | >; |
| 61 | fsl,drive-strength = <0>; |
| 62 | fsl,voltage = <1>; |
| 63 | fsl,pull-up = <1>; |
| 64 | }; |
| 65 | |
| 66 | rotary_pins_cfa10049: rotary-10049@0 { |
| 67 | reg = <0>; |
| 68 | fsl,pinmux-ids = < |
Maxime Ripard | 0943b96 | 2013-01-31 11:00:24 +0100 | [diff] [blame] | 69 | 0x3183 /* MX28_PAD_I2C0_SCL__GPIO_3_24 */ |
| 70 | 0x3193 /* MX28_PAD_I2C0_SDA__GPIO_3_25 */ |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 71 | >; |
| 72 | fsl,drive-strength = <0>; |
| 73 | fsl,voltage = <1>; |
| 74 | fsl,pull-up = <1>; |
| 75 | }; |
| 76 | |
| 77 | rotary_btn_pins_cfa10049: rotary-btn-10049@0 { |
| 78 | reg = <0>; |
| 79 | fsl,pinmux-ids = < |
Maxime Ripard | a640cf6 | 2013-01-31 11:00:23 +0100 | [diff] [blame] | 80 | 0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */ |
Maxime Ripard | 5b615fb | 2012-11-20 15:33:35 +0100 | [diff] [blame] | 81 | >; |
| 82 | fsl,drive-strength = <0>; |
| 83 | fsl,voltage = <1>; |
| 84 | fsl,pull-up = <1>; |
| 85 | }; |
| 86 | |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 87 | spi2_pins_cfa10049: spi2-cfa10049@0 { |
| 88 | reg = <0>; |
| 89 | fsl,pinmux-ids = < |
| 90 | 0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */ |
| 91 | 0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */ |
| 92 | 0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */ |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 93 | 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 94 | >; |
| 95 | fsl,drive-strength = <1>; |
| 96 | fsl,voltage = <1>; |
| 97 | fsl,pull-up = <1>; |
| 98 | }; |
| 99 | |
Maxime Ripard | 223d1f9 | 2012-09-04 10:44:03 +0200 | [diff] [blame] | 100 | spi3_pins_cfa10049: spi3-cfa10049@0 { |
| 101 | reg = <0>; |
| 102 | fsl,pinmux-ids = < |
Maxime Ripard | 7ecc70a | 2013-01-25 09:39:35 +0100 | [diff] [blame] | 103 | 0x0183 /* MX28_PAD_GPMI_RDN__GPIO_0_24 */ |
| 104 | 0x01c3 /* MX28_PAD_GPMI_RESETN__GPIO_0_28 */ |
| 105 | 0x0113 /* MX28_PAD_GPMI_CE1N__GPIO_0_17 */ |
| 106 | 0x01a3 /* MX28_PAD_GPMI_ALE__GPIO_0_26 */ |
| 107 | 0x01b3 /* MX28_PAD_GPMI_CLE__GPIO_0_27 */ |
Maxime Ripard | 223d1f9 | 2012-09-04 10:44:03 +0200 | [diff] [blame] | 108 | >; |
| 109 | fsl,drive-strength = <1>; |
| 110 | fsl,voltage = <1>; |
| 111 | fsl,pull-up = <1>; |
| 112 | }; |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 113 | |
| 114 | lcdif_18bit_pins_cfa10049: lcdif-18bit@0 { |
| 115 | reg = <0>; |
| 116 | fsl,pinmux-ids = < |
| 117 | 0x1000 /* MX28_PAD_LCD_D00__LCD_D0 */ |
| 118 | 0x1010 /* MX28_PAD_LCD_D01__LCD_D1 */ |
| 119 | 0x1020 /* MX28_PAD_LCD_D02__LCD_D2 */ |
| 120 | 0x1030 /* MX28_PAD_LCD_D03__LCD_D3 */ |
| 121 | 0x1040 /* MX28_PAD_LCD_D04__LCD_D4 */ |
| 122 | 0x1050 /* MX28_PAD_LCD_D05__LCD_D5 */ |
| 123 | 0x1060 /* MX28_PAD_LCD_D06__LCD_D6 */ |
| 124 | 0x1070 /* MX28_PAD_LCD_D07__LCD_D7 */ |
| 125 | 0x1080 /* MX28_PAD_LCD_D08__LCD_D8 */ |
| 126 | 0x1090 /* MX28_PAD_LCD_D09__LCD_D9 */ |
| 127 | 0x10a0 /* MX28_PAD_LCD_D10__LCD_D10 */ |
| 128 | 0x10b0 /* MX28_PAD_LCD_D11__LCD_D11 */ |
| 129 | 0x10c0 /* MX28_PAD_LCD_D12__LCD_D12 */ |
| 130 | 0x10d0 /* MX28_PAD_LCD_D13__LCD_D13 */ |
| 131 | 0x10e0 /* MX28_PAD_LCD_D14__LCD_D14 */ |
| 132 | 0x10f0 /* MX28_PAD_LCD_D15__LCD_D15 */ |
| 133 | 0x1100 /* MX28_PAD_LCD_D16__LCD_D16 */ |
| 134 | 0x1110 /* MX28_PAD_LCD_D17__LCD_D17 */ |
| 135 | >; |
| 136 | fsl,drive-strength = <0>; |
| 137 | fsl,voltage = <1>; |
| 138 | fsl,pull-up = <0>; |
| 139 | }; |
| 140 | |
| 141 | lcdif_pins_cfa10049: lcdif-evk@0 { |
| 142 | reg = <0>; |
| 143 | fsl,pinmux-ids = < |
| 144 | 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */ |
| 145 | 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */ |
| 146 | 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */ |
| 147 | 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */ |
| 148 | >; |
| 149 | fsl,drive-strength = <0>; |
| 150 | fsl,voltage = <1>; |
| 151 | fsl,pull-up = <0>; |
| 152 | }; |
Alexandre Belloni | 7d40340 | 2013-03-29 19:46:41 +0100 | [diff] [blame] | 153 | |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 154 | lcdif_pins_cfa10049_pullup: lcdif-10049-pullup@0 { |
| 155 | reg = <0>; |
| 156 | fsl,pinmux-ids = < |
| 157 | 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ |
| 158 | >; |
| 159 | fsl,drive-strength = <0>; |
| 160 | fsl,voltage = <1>; |
| 161 | fsl,pull-up = <1>; |
| 162 | }; |
| 163 | |
Alexandre Belloni | 7d40340 | 2013-03-29 19:46:41 +0100 | [diff] [blame] | 164 | w1_gpio_pins: w1-gpio@0 { |
| 165 | reg = <0>; |
| 166 | fsl,pinmux-ids = < |
| 167 | 0x1153 /* MX28_PAD_LCD_D21__GPIO_1_21 */ |
| 168 | >; |
| 169 | fsl,drive-strength = <1>; |
| 170 | fsl,voltage = <1>; |
| 171 | fsl,pull-up = <0>; /* 0 will enable the keeper */ |
| 172 | }; |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 173 | }; |
| 174 | |
| 175 | lcdif@80030000 { |
| 176 | pinctrl-names = "default"; |
| 177 | pinctrl-0 = <&lcdif_18bit_pins_cfa10049 |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 178 | &lcdif_pins_cfa10049 |
| 179 | &lcdif_pins_cfa10049_pullup>; |
Shawn Guo | 0d9f821 | 2013-03-14 11:37:15 +0800 | [diff] [blame] | 180 | display = <&display>; |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 181 | status = "okay"; |
Shawn Guo | 0d9f821 | 2013-03-14 11:37:15 +0800 | [diff] [blame] | 182 | |
| 183 | display: display { |
| 184 | bits-per-pixel = <32>; |
| 185 | bus-width = <18>; |
| 186 | |
| 187 | display-timings { |
| 188 | native-mode = <&timing0>; |
| 189 | timing0: timing0 { |
| 190 | clock-frequency = <9216000>; |
| 191 | hactive = <320>; |
| 192 | vactive = <480>; |
| 193 | hback-porch = <2>; |
| 194 | hfront-porch = <2>; |
| 195 | vback-porch = <2>; |
| 196 | vfront-porch = <2>; |
| 197 | hsync-len = <15>; |
| 198 | vsync-len = <15>; |
| 199 | hsync-active = <0>; |
| 200 | vsync-active = <0>; |
| 201 | de-active = <1>; |
| 202 | pixelclk-active = <1>; |
| 203 | }; |
| 204 | }; |
| 205 | }; |
Maxime Ripard | 223d1f9 | 2012-09-04 10:44:03 +0200 | [diff] [blame] | 206 | }; |
Maxime Ripard | 223d1f9 | 2012-09-04 10:44:03 +0200 | [diff] [blame] | 207 | }; |
| 208 | |
Maxime Ripard | db84c03 | 2012-08-31 16:00:41 +0200 | [diff] [blame] | 209 | apbx@80040000 { |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 210 | pwm: pwm@80064000 { |
Maxime Ripard | b400932 | 2013-04-22 11:55:55 +0200 | [diff] [blame] | 211 | pinctrl-names = "default"; |
| 212 | pinctrl-0 = <&pwm3_pins_b>; |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 213 | status = "okay"; |
| 214 | }; |
| 215 | |
Maxime Ripard | db84c03 | 2012-08-31 16:00:41 +0200 | [diff] [blame] | 216 | i2c1: i2c@8005a000 { |
| 217 | pinctrl-names = "default"; |
| 218 | pinctrl-0 = <&i2c1_pins_a>; |
| 219 | status = "okay"; |
| 220 | }; |
Maxime Ripard | 186e3d9 | 2012-09-03 16:15:25 +0200 | [diff] [blame] | 221 | |
Maxime Ripard | 06e9eff | 2012-10-25 18:23:54 +0200 | [diff] [blame] | 222 | i2cmux { |
| 223 | compatible = "i2c-mux-gpio"; |
| 224 | #address-cells = <1>; |
| 225 | #size-cells = <0>; |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 226 | pinctrl-names = "default"; |
| 227 | pinctrl-0 = <&i2cmux_pins_cfa10049>; |
Maxime Ripard | 06e9eff | 2012-10-25 18:23:54 +0200 | [diff] [blame] | 228 | mux-gpios = <&gpio1 22 0 &gpio1 23 0>; |
| 229 | i2c-parent = <&i2c1>; |
| 230 | |
| 231 | i2c@0 { |
| 232 | reg = <0>; |
| 233 | }; |
| 234 | |
| 235 | i2c@1 { |
| 236 | reg = <1>; |
| 237 | }; |
| 238 | |
| 239 | i2c@2 { |
| 240 | reg = <2>; |
| 241 | }; |
| 242 | |
| 243 | i2c@3 { |
| 244 | reg = <3>; |
Maxime Ripard | 5b615fb | 2012-11-20 15:33:35 +0100 | [diff] [blame] | 245 | #address-cells = <1>; |
| 246 | #size-cells = <0>; |
| 247 | |
| 248 | pca9555: pca9555@20 { |
| 249 | compatible = "nxp,pca9555"; |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 250 | pinctrl-names = "default"; |
| 251 | pinctrl-0 = <&pca_pins_cfa10049>; |
Maxime Ripard | 5b615fb | 2012-11-20 15:33:35 +0100 | [diff] [blame] | 252 | interrupt-parent = <&gpio2>; |
| 253 | interrupts = <19 0x2>; |
| 254 | gpio-controller; |
| 255 | #gpio-cells = <2>; |
| 256 | interrupt-controller; |
| 257 | #interrupt-cells = <2>; |
| 258 | reg = <0x20>; |
| 259 | }; |
Maxime Ripard | 06e9eff | 2012-10-25 18:23:54 +0200 | [diff] [blame] | 260 | }; |
| 261 | }; |
| 262 | |
Maxime Ripard | 186e3d9 | 2012-09-03 16:15:25 +0200 | [diff] [blame] | 263 | usbphy1: usbphy@8007e000 { |
| 264 | status = "okay"; |
| 265 | }; |
Alexandre Belloni | ac77bc2 | 2013-04-05 14:33:02 +0200 | [diff] [blame] | 266 | |
| 267 | lradc@80050000 { |
| 268 | status = "okay"; |
| 269 | fsl,lradc-touchscreen-wires = <4>; |
| 270 | }; |
Maxime Ripard | 186e3d9 | 2012-09-03 16:15:25 +0200 | [diff] [blame] | 271 | }; |
| 272 | }; |
| 273 | |
| 274 | ahb@80080000 { |
| 275 | usb1: usb@80090000 { |
| 276 | vbus-supply = <®_usb1_vbus>; |
| 277 | pinctrl-0 = <&usbphy1_pins_a>; |
| 278 | pinctrl-names = "default"; |
| 279 | status = "okay"; |
| 280 | }; |
| 281 | }; |
| 282 | |
| 283 | regulators { |
| 284 | compatible = "simple-bus"; |
| 285 | |
| 286 | reg_usb1_vbus: usb1_vbus { |
| 287 | compatible = "regulator-fixed"; |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 288 | pinctrl-names = "default"; |
| 289 | pinctrl-0 = <&usb_pins_cfa10049>; |
Maxime Ripard | 186e3d9 | 2012-09-03 16:15:25 +0200 | [diff] [blame] | 290 | regulator-name = "usb1_vbus"; |
| 291 | regulator-min-microvolt = <5000000>; |
| 292 | regulator-max-microvolt = <5000000>; |
| 293 | gpio = <&gpio0 7 1>; |
Maxime Ripard | db84c03 | 2012-08-31 16:00:41 +0200 | [diff] [blame] | 294 | }; |
| 295 | }; |
Maxime Ripard | 8eec4b3 | 2012-10-07 10:36:28 +0800 | [diff] [blame] | 296 | |
| 297 | ahb@80080000 { |
| 298 | mac0: ethernet@800f0000 { |
| 299 | phy-mode = "rmii"; |
| 300 | pinctrl-names = "default"; |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 301 | pinctrl-0 = <&mac0_pins_a |
| 302 | &mac0_pins_cfa10049>; |
Maxime Ripard | 8eec4b3 | 2012-10-07 10:36:28 +0800 | [diff] [blame] | 303 | phy-reset-gpios = <&gpio2 21 0>; |
| 304 | phy-reset-duration = <100>; |
| 305 | status = "okay"; |
| 306 | }; |
| 307 | }; |
Maxime Ripard | 7ecc70a | 2013-01-25 09:39:35 +0100 | [diff] [blame] | 308 | |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 309 | spi2 { |
| 310 | compatible = "spi-gpio"; |
| 311 | pinctrl-names = "default"; |
| 312 | pinctrl-0 = <&spi2_pins_cfa10049>; |
| 313 | status = "okay"; |
| 314 | gpio-sck = <&gpio2 16 0>; |
| 315 | gpio-mosi = <&gpio2 17 0>; |
| 316 | gpio-miso = <&gpio2 18 0>; |
Brian Lilly | 65bc642 | 2013-06-13 15:43:43 +0200 | [diff] [blame] | 317 | cs-gpios = <&gpio3 5 0>; |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 318 | num-chipselects = <1>; |
| 319 | #address-cells = <1>; |
| 320 | #size-cells = <0>; |
| 321 | |
| 322 | hx8357: hx8357@0 { |
| 323 | compatible = "himax,hx8357b", "himax,hx8357"; |
| 324 | reg = <0>; |
| 325 | spi-max-frequency = <100000>; |
| 326 | spi-cpol; |
| 327 | spi-cpha; |
| 328 | gpios-reset = <&gpio3 30 0>; |
| 329 | im-gpios = <&gpio5 4 0 &gpio5 5 0 &gpio5 6 0>; |
| 330 | }; |
| 331 | }; |
| 332 | |
Maxime Ripard | 7ecc70a | 2013-01-25 09:39:35 +0100 | [diff] [blame] | 333 | spi3 { |
| 334 | compatible = "spi-gpio"; |
| 335 | pinctrl-names = "default"; |
| 336 | pinctrl-0 = <&spi3_pins_cfa10049>; |
| 337 | status = "okay"; |
| 338 | gpio-sck = <&gpio0 24 0>; |
| 339 | gpio-mosi = <&gpio0 28 0>; |
| 340 | cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>; |
| 341 | num-chipselects = <3>; |
| 342 | #address-cells = <1>; |
| 343 | #size-cells = <0>; |
| 344 | |
| 345 | gpio5: gpio5@0 { |
| 346 | compatible = "fairchild,74hc595"; |
| 347 | gpio-controller; |
| 348 | #gpio-cells = <2>; |
| 349 | reg = <0>; |
| 350 | registers-number = <2>; |
| 351 | spi-max-frequency = <100000>; |
| 352 | }; |
| 353 | |
| 354 | gpio6: gpio6@1 { |
| 355 | compatible = "fairchild,74hc595"; |
| 356 | gpio-controller; |
| 357 | #gpio-cells = <2>; |
| 358 | reg = <1>; |
| 359 | registers-number = <4>; |
| 360 | spi-max-frequency = <100000>; |
| 361 | }; |
| 362 | |
| 363 | dac0: dh2228@2 { |
| 364 | compatible = "rohm,dh2228fv"; |
| 365 | reg = <2>; |
| 366 | spi-max-frequency = <100000>; |
| 367 | }; |
| 368 | }; |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 369 | |
Maxime Ripard | a640cf6 | 2013-01-31 11:00:23 +0100 | [diff] [blame] | 370 | gpio_keys { |
| 371 | compatible = "gpio-keys"; |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 372 | pinctrl-names = "default"; |
| 373 | pinctrl-0 = <&rotary_btn_pins_cfa10049>; |
Maxime Ripard | a640cf6 | 2013-01-31 11:00:23 +0100 | [diff] [blame] | 374 | #address-cells = <1>; |
| 375 | #size-cells = <0>; |
| 376 | |
| 377 | rotary_button { |
| 378 | label = "rotary_button"; |
| 379 | gpios = <&gpio3 26 1>; |
| 380 | debounce-interval = <10>; |
| 381 | linux,code = <28>; |
| 382 | }; |
| 383 | }; |
| 384 | |
Maxime Ripard | 0943b96 | 2013-01-31 11:00:24 +0100 | [diff] [blame] | 385 | rotary { |
| 386 | compatible = "rotary-encoder"; |
Alexandre Belloni | dac63a5 | 2013-07-01 15:23:26 +0200 | [diff] [blame^] | 387 | pinctrl-names = "default"; |
| 388 | pinctrl-0 = <&rotary_pins_cfa10049>; |
Maxime Ripard | 0943b96 | 2013-01-31 11:00:24 +0100 | [diff] [blame] | 389 | gpios = <&gpio3 24 1>, <&gpio3 25 1>; |
| 390 | linux,axis = <1>; /* REL_Y */ |
| 391 | rotary-encoder,relative-axis; |
| 392 | }; |
| 393 | |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 394 | backlight { |
| 395 | compatible = "pwm-backlight"; |
| 396 | pwms = <&pwm 3 5000000>; |
| 397 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 398 | default-brightness-level = <6>; |
Alexandre Belloni | 7d40340 | 2013-03-29 19:46:41 +0100 | [diff] [blame] | 399 | |
| 400 | }; |
| 401 | |
| 402 | onewire@0 { |
| 403 | compatible = "w1-gpio"; |
| 404 | pinctrl-names = "default"; |
| 405 | pinctrl-0 = <&w1_gpio_pins>; |
| 406 | status = "okay"; |
| 407 | gpios = <&gpio1 21 0>; |
Maxime Ripard | 1fe4274 | 2013-01-25 09:54:07 +0100 | [diff] [blame] | 408 | }; |
Maxime Ripard | db84c03 | 2012-08-31 16:00:41 +0200 | [diff] [blame] | 409 | }; |