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 { |
Tomasz Figa | 49ed67a4 | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 25 | reg = <0x40000000 0x10000000 |
| 26 | 0x50000000 0x10000000 |
| 27 | 0x60000000 0x10000000 |
| 28 | 0x70000000 0x10000000>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | chosen { |
| 32 | bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; |
| 33 | }; |
| 34 | |
Tomasz Figa | cf7c397 | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 35 | mmc_reg: voltage-regulator { |
| 36 | compatible = "regulator-fixed"; |
| 37 | regulator-name = "VMEM_VDD_2.8V"; |
| 38 | regulator-min-microvolt = <2800000>; |
| 39 | regulator-max-microvolt = <2800000>; |
| 40 | gpio = <&gpx1 1 0>; |
| 41 | enable-active-high; |
| 42 | }; |
| 43 | |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 44 | sdhci@12530000 { |
Tomasz Figa | 6475daa | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 45 | bus-width = <4>; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 46 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; |
| 47 | pinctrl-names = "default"; |
Tomasz Figa | cf7c397 | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 48 | vmmc-supply = <&mmc_reg>; |
Tomasz Figa | c9e23f0 | 2012-09-21 10:13:31 +0900 | [diff] [blame] | 49 | status = "okay"; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 50 | }; |
| 51 | |
| 52 | sdhci@12510000 { |
Tomasz Figa | 6475daa | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 53 | bus-width = <4>; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 54 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>; |
| 55 | pinctrl-names = "default"; |
Tomasz Figa | cf7c397 | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 56 | vmmc-supply = <&mmc_reg>; |
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 | |
Sachin Kamat | fcc0afb | 2013-04-04 13:49:49 +0900 | [diff] [blame] | 60 | g2d@12800000 { |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
Sachin Kamat | 6fe5771 | 2013-02-08 13:58:24 -0800 | [diff] [blame] | 64 | codec@13400000 { |
| 65 | samsung,mfc-r = <0x43000000 0x800000>; |
| 66 | samsung,mfc-l = <0x51000000 0x800000>; |
| 67 | status = "okay"; |
| 68 | }; |
| 69 | |
Tomasz Figa | 70191db | 2012-10-17 18:13:24 +0900 | [diff] [blame] | 70 | serial@13800000 { |
| 71 | status = "okay"; |
| 72 | }; |
| 73 | |
| 74 | serial@13810000 { |
| 75 | status = "okay"; |
| 76 | }; |
| 77 | |
| 78 | serial@13820000 { |
| 79 | status = "okay"; |
| 80 | }; |
| 81 | |
| 82 | serial@13830000 { |
| 83 | status = "okay"; |
| 84 | }; |
| 85 | |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 86 | gpio_keys { |
| 87 | compatible = "gpio-keys"; |
| 88 | #address-cells = <1>; |
| 89 | #size-cells = <0>; |
| 90 | |
| 91 | up { |
| 92 | label = "Up"; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 93 | gpios = <&gpx2 0 1>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 94 | linux,code = <103>; |
Tushar Behera | c8c24da | 2012-09-21 11:13:25 +0900 | [diff] [blame] | 95 | gpio-key,wakeup; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 96 | }; |
| 97 | |
| 98 | down { |
| 99 | label = "Down"; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 100 | gpios = <&gpx2 1 1>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 101 | linux,code = <108>; |
Tushar Behera | c8c24da | 2012-09-21 11:13:25 +0900 | [diff] [blame] | 102 | gpio-key,wakeup; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 103 | }; |
| 104 | |
| 105 | back { |
| 106 | label = "Back"; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 107 | gpios = <&gpx1 7 1>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 108 | linux,code = <158>; |
Tushar Behera | c8c24da | 2012-09-21 11:13:25 +0900 | [diff] [blame] | 109 | gpio-key,wakeup; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 110 | }; |
| 111 | |
| 112 | home { |
| 113 | label = "Home"; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 114 | gpios = <&gpx1 6 1>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 115 | linux,code = <102>; |
Tushar Behera | c8c24da | 2012-09-21 11:13:25 +0900 | [diff] [blame] | 116 | gpio-key,wakeup; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 117 | }; |
| 118 | |
| 119 | menu { |
| 120 | label = "Menu"; |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 121 | gpios = <&gpx1 5 1>; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 122 | linux,code = <139>; |
Tushar Behera | c8c24da | 2012-09-21 11:13:25 +0900 | [diff] [blame] | 123 | gpio-key,wakeup; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 124 | }; |
| 125 | }; |
| 126 | |
Sachin Kamat | 162b172 | 2012-09-08 10:09:03 +0900 | [diff] [blame] | 127 | leds { |
| 128 | compatible = "gpio-leds"; |
| 129 | status { |
Tomasz Figa | 41d8bdf | 2012-11-22 00:15:40 +0900 | [diff] [blame] | 130 | gpios = <&gpx1 3 1>; |
Sachin Kamat | 162b172 | 2012-09-08 10:09:03 +0900 | [diff] [blame] | 131 | linux,default-trigger = "heartbeat"; |
| 132 | }; |
| 133 | }; |
Thomas Abraham | 8b6076d | 2013-03-09 17:19:22 +0900 | [diff] [blame] | 134 | |
| 135 | fixed-rate-clocks { |
| 136 | xxti { |
| 137 | compatible = "samsung,clock-xxti"; |
| 138 | clock-frequency = <0>; |
| 139 | }; |
| 140 | |
| 141 | xusbxti { |
| 142 | compatible = "samsung,clock-xusbxti"; |
| 143 | clock-frequency = <24000000>; |
| 144 | }; |
| 145 | }; |
Thomas Abraham | 0561cea | 2011-11-02 19:31:15 +0900 | [diff] [blame] | 146 | }; |