Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 Freescale Semiconductor, Inc. |
| 3 | * Copyright 2011 Linaro Ltd. |
| 4 | * |
| 5 | * The code contained herein is licensed under the GNU General Public |
| 6 | * License. You may obtain a copy of the GNU General Public License |
| 7 | * Version 2 or later at the following locations: |
| 8 | * |
| 9 | * http://www.opensource.org/licenses/gpl-license.html |
| 10 | * http://www.gnu.org/copyleft/gpl.html |
| 11 | */ |
| 12 | |
| 13 | /dts-v1/; |
| 14 | /include/ "imx53.dtsi" |
| 15 | |
| 16 | / { |
| 17 | model = "Freescale i.MX53 Automotive Reference Design Board"; |
| 18 | compatible = "fsl,imx53-ard", "fsl,imx53"; |
| 19 | |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 20 | memory { |
| 21 | reg = <0x70000000 0x40000000>; |
| 22 | }; |
| 23 | |
| 24 | soc { |
| 25 | aips@50000000 { /* AIPS1 */ |
| 26 | spba@50000000 { |
| 27 | esdhc@50004000 { /* ESDHC1 */ |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 28 | cd-gpios = <&gpio1 1 0>; |
| 29 | wp-gpios = <&gpio1 9 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 30 | status = "okay"; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | wdog@53f98000 { /* WDOG1 */ |
| 35 | status = "okay"; |
| 36 | }; |
| 37 | |
| 38 | iomuxc@53fa8000 { |
| 39 | compatible = "fsl,imx53-iomuxc-ard"; |
| 40 | reg = <0x53fa8000 0x4000>; |
| 41 | }; |
| 42 | |
Shawn Guo | 0c456cf | 2012-04-02 14:39:26 +0800 | [diff] [blame] | 43 | uart1: serial@53fbc000 { |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 44 | status = "okay"; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | aips@60000000 { /* AIPS2 */ |
| 49 | sdma@63fb0000 { |
| 50 | fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; |
| 51 | }; |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | eim-cs1@f4000000 { |
| 56 | #address-cells = <1>; |
| 57 | #size-cells = <1>; |
| 58 | compatible = "fsl,eim-bus", "simple-bus"; |
| 59 | reg = <0xf4000000 0x3ff0000>; |
| 60 | ranges; |
| 61 | |
| 62 | lan9220@f4000000 { |
| 63 | compatible = "smsc,lan9220", "smsc,lan9115"; |
| 64 | reg = <0xf4000000 0x2000000>; |
| 65 | phy-mode = "mii"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 66 | interrupt-parent = <&gpio2>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 67 | interrupts = <31>; |
| 68 | reg-io-width = <4>; |
| 69 | smsc,irq-push-pull; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | gpio-keys { |
| 74 | compatible = "gpio-keys"; |
| 75 | |
| 76 | home { |
| 77 | label = "Home"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 78 | gpios = <&gpio5 10 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 79 | linux,code = <102>; /* KEY_HOME */ |
| 80 | gpio-key,wakeup; |
| 81 | }; |
| 82 | |
| 83 | back { |
| 84 | label = "Back"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 85 | gpios = <&gpio5 11 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 86 | linux,code = <158>; /* KEY_BACK */ |
| 87 | gpio-key,wakeup; |
| 88 | }; |
| 89 | |
| 90 | program { |
| 91 | label = "Program"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 92 | gpios = <&gpio5 12 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 93 | linux,code = <362>; /* KEY_PROGRAM */ |
| 94 | gpio-key,wakeup; |
| 95 | }; |
| 96 | |
| 97 | volume-up { |
| 98 | label = "Volume Up"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 99 | gpios = <&gpio5 13 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 100 | linux,code = <115>; /* KEY_VOLUMEUP */ |
| 101 | }; |
| 102 | |
| 103 | volume-down { |
| 104 | label = "Volume Down"; |
Richard Zhao | 4d19186 | 2011-12-14 09:26:44 +0800 | [diff] [blame] | 105 | gpios = <&gpio4 0 0>; |
Shawn Guo | 73d2b4c | 2011-10-17 08:42:16 +0800 | [diff] [blame] | 106 | linux,code = <114>; /* KEY_VOLUMEDOWN */ |
| 107 | }; |
| 108 | }; |
| 109 | }; |