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