Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos4210 based Origen board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * Copyright (c) 2010-2011 Linaro Ltd. |
| 7 | * www.linaro.org |
| 8 | * |
| 9 | * Device tree source file for Insignal's Origen board which is based on |
| 10 | * Samsung's Exynos4210 SoC. |
| 11 | * |
| 12 | * This program is free software; you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License version 2 as |
| 14 | * published by the Free Software Foundation. |
| 15 | */ |
| 16 | |
| 17 | /dts-v1/; |
| 18 | /include/ "exynos4210.dtsi" |
| 19 | |
| 20 | / { |
| 21 | model = "Insignal Origen evaluation board based on Exynos4210"; |
| 22 | compatible = "insignal,origen", "samsung,exynos4210"; |
| 23 | |
| 24 | memory { |
| 25 | reg = <0x40000000 0x40000000>; |
| 26 | }; |
| 27 | |
| 28 | chosen { |
| 29 | bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; |
| 30 | }; |
| 31 | |
| 32 | sdhci@12530000 { |
| 33 | samsung,sdhci-bus-width = <4>; |
| 34 | linux,mmc_cap_4_bit_data; |
| 35 | samsung,sdhci-cd-internal; |
| 36 | gpio-cd = <&gpk2 2 2 3 3>; |
| 37 | gpios = <&gpk2 0 2 0 3>, |
| 38 | <&gpk2 1 2 0 3>, |
| 39 | <&gpk2 3 2 3 3>, |
| 40 | <&gpk2 4 2 3 3>, |
| 41 | <&gpk2 5 2 3 3>, |
| 42 | <&gpk2 6 2 3 3>; |
Tomasz Figa | c9e23f0 | 2012-09-21 10:13:31 +0900 | [diff] [blame^] | 43 | status = "okay"; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 44 | }; |
| 45 | |
| 46 | sdhci@12510000 { |
| 47 | samsung,sdhci-bus-width = <4>; |
| 48 | linux,mmc_cap_4_bit_data; |
| 49 | samsung,sdhci-cd-internal; |
| 50 | gpio-cd = <&gpk0 2 2 3 3>; |
| 51 | gpios = <&gpk0 0 2 0 3>, |
| 52 | <&gpk0 1 2 0 3>, |
| 53 | <&gpk0 3 2 3 3>, |
| 54 | <&gpk0 4 2 3 3>, |
| 55 | <&gpk0 5 2 3 3>, |
| 56 | <&gpk0 6 2 3 3>; |
Tomasz Figa | c9e23f0 | 2012-09-21 10:13:31 +0900 | [diff] [blame^] | 57 | status = "okay"; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 58 | }; |
| 59 | |
| 60 | gpio_keys { |
| 61 | compatible = "gpio-keys"; |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <0>; |
| 64 | |
| 65 | up { |
| 66 | label = "Up"; |
| 67 | gpios = <&gpx2 0 0 0 2>; |
| 68 | linux,code = <103>; |
| 69 | }; |
| 70 | |
| 71 | down { |
| 72 | label = "Down"; |
| 73 | gpios = <&gpx2 1 0 0 2>; |
| 74 | linux,code = <108>; |
| 75 | }; |
| 76 | |
| 77 | back { |
| 78 | label = "Back"; |
| 79 | gpios = <&gpx1 7 0 0 2>; |
| 80 | linux,code = <158>; |
| 81 | }; |
| 82 | |
| 83 | home { |
| 84 | label = "Home"; |
| 85 | gpios = <&gpx1 6 0 0 2>; |
| 86 | linux,code = <102>; |
| 87 | }; |
| 88 | |
| 89 | menu { |
| 90 | label = "Menu"; |
| 91 | gpios = <&gpx1 5 0 0 2>; |
| 92 | linux,code = <139>; |
| 93 | }; |
| 94 | }; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 95 | }; |