Shawn Guo | 3143bbb | 2012-07-07 23:12:03 +0800 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | /include/ "imx28.dtsi" |
| 3 | |
| 4 | / { |
| 5 | model = "Bluegiga APX4 Development Kit"; |
| 6 | compatible = "bluegiga,apx4devkit", "fsl,imx28"; |
| 7 | |
| 8 | memory { |
| 9 | reg = <0x40000000 0x04000000>; |
| 10 | }; |
| 11 | |
| 12 | apb@80000000 { |
| 13 | apbh@80000000 { |
Lauri Hintsala | 3317d99 | 2012-07-10 10:08:07 +0300 | [diff] [blame] | 14 | gpmi-nand@8000c000 { |
| 15 | pinctrl-names = "default"; |
| 16 | pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>; |
| 17 | status = "okay"; |
| 18 | }; |
| 19 | |
Shawn Guo | 3143bbb | 2012-07-07 23:12:03 +0800 | [diff] [blame] | 20 | ssp0: ssp@80010000 { |
| 21 | compatible = "fsl,imx28-mmc"; |
| 22 | pinctrl-names = "default"; |
Lauri Hintsala | 1eb73ca | 2012-07-10 10:08:09 +0300 | [diff] [blame^] | 23 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_sck_cfg>; |
| 24 | bus-width = <4>; |
Shawn Guo | 3143bbb | 2012-07-07 23:12:03 +0800 | [diff] [blame] | 25 | status = "okay"; |
| 26 | }; |
| 27 | |
| 28 | pinctrl@80018000 { |
| 29 | pinctrl-names = "default"; |
| 30 | pinctrl-0 = <&hog_pins_a>; |
| 31 | |
| 32 | hog_pins_a: hog-gpios@0 { |
| 33 | reg = <0>; |
| 34 | fsl,pinmux-ids = < |
| 35 | 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */ |
Lauri Hintsala | d8bb823 | 2012-07-10 10:08:08 +0300 | [diff] [blame] | 36 | 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ |
Shawn Guo | 3143bbb | 2012-07-07 23:12:03 +0800 | [diff] [blame] | 37 | >; |
| 38 | fsl,drive-strength = <0>; |
| 39 | fsl,voltage = <1>; |
| 40 | fsl,pull-up = <0>; |
| 41 | }; |
Lauri Hintsala | d8bb823 | 2012-07-10 10:08:08 +0300 | [diff] [blame] | 42 | |
| 43 | lcdif_pins_apx4: lcdif-apx4@0 { |
| 44 | reg = <0>; |
| 45 | fsl,pinmux-ids = < |
| 46 | 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */ |
| 47 | 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */ |
| 48 | 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */ |
| 49 | 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */ |
| 50 | >; |
| 51 | fsl,drive-strength = <0>; |
| 52 | fsl,voltage = <1>; |
| 53 | fsl,pull-up = <0>; |
| 54 | }; |
| 55 | }; |
| 56 | |
| 57 | lcdif@80030000 { |
| 58 | pinctrl-names = "default"; |
| 59 | pinctrl-0 = <&lcdif_24bit_pins_a |
| 60 | &lcdif_pins_apx4>; |
| 61 | status = "okay"; |
Shawn Guo | 3143bbb | 2012-07-07 23:12:03 +0800 | [diff] [blame] | 62 | }; |
| 63 | }; |
| 64 | |
| 65 | apbx@80040000 { |
| 66 | saif0: saif@80042000 { |
| 67 | pinctrl-names = "default"; |
| 68 | pinctrl-0 = <&saif0_pins_a>; |
| 69 | status = "okay"; |
| 70 | }; |
| 71 | |
| 72 | saif1: saif@80046000 { |
| 73 | pinctrl-names = "default"; |
| 74 | pinctrl-0 = <&saif1_pins_a>; |
| 75 | fsl,saif-master = <&saif0>; |
| 76 | status = "okay"; |
| 77 | }; |
| 78 | |
| 79 | i2c0: i2c@80058000 { |
| 80 | pinctrl-names = "default"; |
| 81 | pinctrl-0 = <&i2c0_pins_a>; |
| 82 | status = "okay"; |
| 83 | |
| 84 | sgtl5000: codec@0a { |
| 85 | compatible = "fsl,sgtl5000"; |
| 86 | reg = <0x0a>; |
| 87 | VDDA-supply = <®_3p3v>; |
| 88 | VDDIO-supply = <®_3p3v>; |
| 89 | |
| 90 | }; |
| 91 | |
| 92 | pcf8563: rtc@51 { |
| 93 | compatible = "phg,pcf8563"; |
| 94 | reg = <0x51>; |
| 95 | }; |
| 96 | }; |
| 97 | |
| 98 | duart: serial@80074000 { |
| 99 | pinctrl-names = "default"; |
| 100 | pinctrl-0 = <&duart_pins_a>; |
| 101 | status = "okay"; |
| 102 | }; |
| 103 | |
| 104 | auart0: serial@8006a000 { |
| 105 | pinctrl-names = "default"; |
| 106 | pinctrl-0 = <&auart0_pins_a>; |
| 107 | status = "okay"; |
| 108 | }; |
| 109 | |
| 110 | auart1: serial@8006c000 { |
| 111 | pinctrl-names = "default"; |
| 112 | pinctrl-0 = <&auart1_2pins_a>; |
| 113 | status = "okay"; |
| 114 | }; |
| 115 | |
| 116 | auart2: serial@8006e000 { |
| 117 | pinctrl-names = "default"; |
| 118 | pinctrl-0 = <&auart2_2pins_a>; |
| 119 | status = "okay"; |
| 120 | }; |
| 121 | |
| 122 | auart3: serial@80070000 { |
| 123 | pinctrl-names = "default"; |
| 124 | pinctrl-0 = <&auart3_2pins_a>; |
| 125 | status = "okay"; |
| 126 | }; |
| 127 | }; |
| 128 | }; |
| 129 | |
| 130 | ahb@80080000 { |
| 131 | mac0: ethernet@800f0000 { |
| 132 | phy-mode = "rmii"; |
| 133 | pinctrl-names = "default"; |
| 134 | pinctrl-0 = <&mac0_pins_a>; |
| 135 | status = "okay"; |
| 136 | }; |
| 137 | }; |
| 138 | |
| 139 | regulators { |
| 140 | compatible = "simple-bus"; |
| 141 | |
| 142 | reg_3p3v: 3p3v { |
| 143 | compatible = "regulator-fixed"; |
| 144 | regulator-name = "3P3V"; |
| 145 | regulator-min-microvolt = <3300000>; |
| 146 | regulator-max-microvolt = <3300000>; |
| 147 | regulator-always-on; |
| 148 | }; |
| 149 | }; |
| 150 | |
| 151 | sound { |
| 152 | compatible = "bluegiga,apx4devkit-sgtl5000", |
| 153 | "fsl,mxs-audio-sgtl5000"; |
| 154 | model = "apx4devkit-sgtl5000"; |
| 155 | saif-controllers = <&saif0 &saif1>; |
| 156 | audio-codec = <&sgtl5000>; |
| 157 | }; |
| 158 | |
| 159 | leds { |
| 160 | compatible = "gpio-leds"; |
| 161 | |
| 162 | user { |
| 163 | label = "Heartbeat"; |
| 164 | gpios = <&gpio3 28 0>; |
| 165 | linux,default-trigger = "heartbeat"; |
| 166 | }; |
| 167 | }; |
| 168 | }; |