Maxime Ripard | 330eaaf | 2012-06-27 10:18:12 +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 | /dts-v1/; |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 13 | #include "imx28.dtsi" |
Maxime Ripard | 330eaaf | 2012-06-27 10:18:12 +0200 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Crystalfontz CFA-10036 Board"; |
| 17 | compatible = "crystalfontz,cfa10036", "fsl,imx28"; |
| 18 | |
| 19 | memory { |
| 20 | reg = <0x40000000 0x08000000>; |
| 21 | }; |
| 22 | |
| 23 | apb@80000000 { |
| 24 | apbh@80000000 { |
Maxime Ripard | c241d0a | 2012-11-03 16:59:07 +0100 | [diff] [blame] | 25 | pinctrl@80018000 { |
Alexandre Belloni | a74d2ec | 2013-07-01 15:23:29 +0200 | [diff] [blame] | 26 | ssd1306_cfa10036: ssd1306-10036@0 { |
Maxime Ripard | 24196d5 | 2012-11-03 16:59:08 +0100 | [diff] [blame] | 27 | reg = <0>; |
| 28 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 29 | MX28_PAD_SSP0_DATA7__GPIO_2_7 |
Maxime Ripard | 24196d5 | 2012-11-03 16:59:08 +0100 | [diff] [blame] | 30 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 31 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 32 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 33 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Maxime Ripard | 24196d5 | 2012-11-03 16:59:08 +0100 | [diff] [blame] | 34 | }; |
| 35 | |
Maxime Ripard | c241d0a | 2012-11-03 16:59:07 +0100 | [diff] [blame] | 36 | led_pins_cfa10036: leds-10036@0 { |
| 37 | reg = <0>; |
| 38 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 39 | MX28_PAD_AUART1_RX__GPIO_3_4 |
Maxime Ripard | c241d0a | 2012-11-03 16:59:07 +0100 | [diff] [blame] | 40 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 41 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 42 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 43 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Maxime Ripard | c241d0a | 2012-11-03 16:59:07 +0100 | [diff] [blame] | 44 | }; |
Maxime Ripard | 17a2163 | 2013-06-13 15:43:42 +0200 | [diff] [blame] | 45 | |
| 46 | usb0_otg_cfa10036: otg-10036@0 { |
| 47 | reg = <0>; |
| 48 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 49 | MX28_PAD_GPMI_RDY0__USB0_ID |
Maxime Ripard | 17a2163 | 2013-06-13 15:43:42 +0200 | [diff] [blame] | 50 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 51 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 52 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 53 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Maxime Ripard | 17a2163 | 2013-06-13 15:43:42 +0200 | [diff] [blame] | 54 | }; |
| 55 | |
Maxime Ripard | c241d0a | 2012-11-03 16:59:07 +0100 | [diff] [blame] | 56 | }; |
| 57 | |
Maxime Ripard | 330eaaf | 2012-06-27 10:18:12 +0200 | [diff] [blame] | 58 | ssp0: ssp@80010000 { |
| 59 | compatible = "fsl,imx28-mmc"; |
| 60 | pinctrl-names = "default"; |
| 61 | pinctrl-0 = <&mmc0_4bit_pins_a |
| 62 | &mmc0_cd_cfg &mmc0_sck_cfg>; |
| 63 | bus-width = <4>; |
| 64 | status = "okay"; |
| 65 | }; |
| 66 | }; |
| 67 | |
| 68 | apbx@80040000 { |
| 69 | duart: serial@80074000 { |
| 70 | pinctrl-names = "default"; |
| 71 | pinctrl-0 = <&duart_pins_b>; |
| 72 | status = "okay"; |
| 73 | }; |
Maxime Ripard | 25d6dd8 | 2012-10-31 10:12:54 +0100 | [diff] [blame] | 74 | |
| 75 | i2c0: i2c@80058000 { |
| 76 | pinctrl-names = "default"; |
| 77 | pinctrl-0 = <&i2c0_pins_b>; |
Maxime Ripard | b55cb19 | 2013-04-22 12:02:22 +0200 | [diff] [blame] | 78 | clock-frequency = <400000>; |
Maxime Ripard | 25d6dd8 | 2012-10-31 10:12:54 +0100 | [diff] [blame] | 79 | status = "okay"; |
| 80 | |
Maxime Ripard | b400932 | 2013-04-22 11:55:55 +0200 | [diff] [blame] | 81 | ssd1306: oled@3c { |
| 82 | compatible = "solomon,ssd1306fb-i2c"; |
Alexandre Belloni | a74d2ec | 2013-07-01 15:23:29 +0200 | [diff] [blame] | 83 | pinctrl-names = "default"; |
| 84 | pinctrl-0 = <&ssd1306_cfa10036>; |
Maxime Ripard | 25d6dd8 | 2012-10-31 10:12:54 +0100 | [diff] [blame] | 85 | reg = <0x3c>; |
Maxime Ripard | 25d6dd8 | 2012-10-31 10:12:54 +0100 | [diff] [blame] | 86 | reset-gpios = <&gpio2 7 0>; |
Maxime Ripard | b400932 | 2013-04-22 11:55:55 +0200 | [diff] [blame] | 87 | solomon,height = <32>; |
| 88 | solomon,width = <128>; |
| 89 | solomon,page-offset = <0>; |
Maxime Ripard | 25d6dd8 | 2012-10-31 10:12:54 +0100 | [diff] [blame] | 90 | }; |
| 91 | }; |
Maxime Ripard | 17a2163 | 2013-06-13 15:43:42 +0200 | [diff] [blame] | 92 | |
| 93 | usbphy0: usbphy@8007c000 { |
| 94 | status = "okay"; |
| 95 | }; |
| 96 | }; |
| 97 | }; |
| 98 | |
| 99 | ahb@80080000 { |
| 100 | usb0: usb@80080000 { |
| 101 | pinctrl-names = "default"; |
| 102 | pinctrl-0 = <&usb0_otg_cfa10036>; |
Maxime Ripard | c896238 | 2013-11-18 15:52:02 +0100 | [diff] [blame^] | 103 | dr_mode = "peripheral"; |
| 104 | phy_type = "utmi"; |
Maxime Ripard | 17a2163 | 2013-06-13 15:43:42 +0200 | [diff] [blame] | 105 | status = "okay"; |
Maxime Ripard | 330eaaf | 2012-06-27 10:18:12 +0200 | [diff] [blame] | 106 | }; |
| 107 | }; |
Maxime Ripard | f34ffc9 | 2012-06-29 09:39:29 +0200 | [diff] [blame] | 108 | |
| 109 | leds { |
| 110 | compatible = "gpio-leds"; |
Maxime Ripard | c241d0a | 2012-11-03 16:59:07 +0100 | [diff] [blame] | 111 | pinctrl-names = "default"; |
| 112 | pinctrl-0 = <&led_pins_cfa10036>; |
Maxime Ripard | f34ffc9 | 2012-06-29 09:39:29 +0200 | [diff] [blame] | 113 | |
| 114 | power { |
| 115 | gpios = <&gpio3 4 1>; |
| 116 | default-state = "on"; |
| 117 | }; |
| 118 | }; |
Maxime Ripard | 330eaaf | 2012-06-27 10:18:12 +0200 | [diff] [blame] | 119 | }; |