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 */ |
| 38 | >; |
| 39 | fsl,drive-strength = <0>; |
| 40 | fsl,voltage = <1>; |
| 41 | fsl,pull-up = <0>; |
| 42 | }; |
| 43 | }; |
| 44 | }; |
| 45 | |
| 46 | apbx@80040000 { |
| 47 | saif0: saif@80042000 { |
| 48 | pinctrl-names = "default"; |
| 49 | pinctrl-0 = <&saif0_pins_a>; |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | saif1: saif@80046000 { |
| 54 | pinctrl-names = "default"; |
| 55 | pinctrl-0 = <&saif1_pins_a>; |
| 56 | fsl,saif-master = <&saif0>; |
| 57 | status = "okay"; |
| 58 | }; |
| 59 | |
| 60 | i2c0: i2c@80058000 { |
| 61 | pinctrl-names = "default"; |
| 62 | pinctrl-0 = <&i2c0_pins_a>; |
| 63 | status = "okay"; |
| 64 | |
| 65 | sgtl5000: codec@0a { |
| 66 | compatible = "fsl,sgtl5000"; |
| 67 | reg = <0x0a>; |
| 68 | VDDA-supply = <®_3p3v>; |
| 69 | VDDIO-supply = <®_3p3v>; |
| 70 | |
| 71 | }; |
| 72 | |
| 73 | pcf8563: rtc@51 { |
| 74 | compatible = "phg,pcf8563"; |
| 75 | reg = <0x51>; |
| 76 | }; |
| 77 | }; |
| 78 | |
| 79 | duart: serial@80074000 { |
| 80 | pinctrl-names = "default"; |
| 81 | pinctrl-0 = <&duart_pins_a>; |
| 82 | status = "okay"; |
| 83 | }; |
| 84 | |
| 85 | auart0: serial@8006a000 { |
| 86 | pinctrl-names = "default"; |
| 87 | pinctrl-0 = <&auart0_pins_a>; |
| 88 | status = "okay"; |
| 89 | }; |
| 90 | |
| 91 | auart1: serial@8006c000 { |
| 92 | pinctrl-names = "default"; |
| 93 | pinctrl-0 = <&auart1_2pins_a>; |
| 94 | status = "okay"; |
| 95 | }; |
| 96 | |
| 97 | auart2: serial@8006e000 { |
| 98 | pinctrl-names = "default"; |
| 99 | pinctrl-0 = <&auart2_2pins_a>; |
| 100 | status = "okay"; |
| 101 | }; |
| 102 | |
| 103 | auart3: serial@80070000 { |
| 104 | pinctrl-names = "default"; |
| 105 | pinctrl-0 = <&auart3_2pins_a>; |
| 106 | status = "okay"; |
| 107 | }; |
| 108 | }; |
| 109 | }; |
| 110 | |
| 111 | ahb@80080000 { |
| 112 | mac0: ethernet@800f0000 { |
| 113 | phy-mode = "rmii"; |
| 114 | pinctrl-names = "default"; |
| 115 | pinctrl-0 = <&mac0_pins_a>; |
| 116 | status = "okay"; |
| 117 | }; |
| 118 | }; |
| 119 | |
| 120 | regulators { |
| 121 | compatible = "simple-bus"; |
| 122 | |
| 123 | reg_3p3v: 3p3v { |
| 124 | compatible = "regulator-fixed"; |
| 125 | regulator-name = "3P3V"; |
| 126 | regulator-min-microvolt = <3300000>; |
| 127 | regulator-max-microvolt = <3300000>; |
| 128 | regulator-always-on; |
| 129 | }; |
| 130 | }; |
| 131 | |
| 132 | sound { |
| 133 | compatible = "bluegiga,apx4devkit-sgtl5000", |
| 134 | "fsl,mxs-audio-sgtl5000"; |
| 135 | model = "apx4devkit-sgtl5000"; |
| 136 | saif-controllers = <&saif0 &saif1>; |
| 137 | audio-codec = <&sgtl5000>; |
| 138 | }; |
| 139 | |
| 140 | leds { |
| 141 | compatible = "gpio-leds"; |
| 142 | |
| 143 | user { |
| 144 | label = "Heartbeat"; |
| 145 | gpios = <&gpio3 28 0>; |
| 146 | linux,default-trigger = "heartbeat"; |
| 147 | }; |
| 148 | }; |
| 149 | }; |