exynos4210-origen.dts 2.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
/*
 * Samsung's Exynos4210 based Origen board device tree source
 *
 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com
 * Copyright (c) 2010-2011 Linaro Ltd.
 *		www.linaro.org
 *
 * Device tree source file for Insignal's Origen board which is based on
 * Samsung's Exynos4210 SoC.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/

/dts-v1/;
/include/ "exynos4210.dtsi"

/ {
	model = "Insignal Origen evaluation board based on Exynos4210";
	compatible = "insignal,origen", "samsung,exynos4210";

	memory {
		reg = <0x40000000 0x40000000>;
	};

	chosen {
		bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
	};

	sdhci@12530000 {
		samsung,sdhci-bus-width = <4>;
		linux,mmc_cap_4_bit_data;
		samsung,sdhci-cd-internal;
		gpio-cd = <&gpk2 2 2 3 3>;
		gpios = <&gpk2 0 2 0 3>,
			<&gpk2 1 2 0 3>,
			<&gpk2 3 2 3 3>,
			<&gpk2 4 2 3 3>,
			<&gpk2 5 2 3 3>,
			<&gpk2 6 2 3 3>;
43
		status = "okay";
44 45 46 47 48 49 50 51 52 53 54 55 56
	};

	sdhci@12510000 {
		samsung,sdhci-bus-width = <4>;
		linux,mmc_cap_4_bit_data;
		samsung,sdhci-cd-internal;
		gpio-cd = <&gpk0 2 2 3 3>;
		gpios = <&gpk0 0 2 0 3>,
			<&gpk0 1 2 0 3>,
			<&gpk0 3 2 3 3>,
			<&gpk0 4 2 3 3>,
			<&gpk0 5 2 3 3>,
			<&gpk0 6 2 3 3>;
57
		status = "okay";
58 59 60 61 62 63 64 65 66
	};

	gpio_keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;

		up {
			label = "Up";
67
			gpios = <&gpx2 0 0 0x10000 2>;
68
			linux,code = <103>;
69
			gpio-key,wakeup;
70 71 72 73
		};

		down {
			label = "Down";
74
			gpios = <&gpx2 1 0 0x10000 2>;
75
			linux,code = <108>;
76
			gpio-key,wakeup;
77 78 79 80
		};

		back {
			label = "Back";
81
			gpios = <&gpx1 7 0 0x10000 2>;
82
			linux,code = <158>;
83
			gpio-key,wakeup;
84 85 86 87
		};

		home {
			label = "Home";
88
			gpios = <&gpx1 6 0 0x10000 2>;
89
			linux,code = <102>;
90
			gpio-key,wakeup;
91 92 93 94
		};

		menu {
			label = "Menu";
95
			gpios = <&gpx1 5 0 0x10000 2>;
96
			linux,code = <139>;
97
			gpio-key,wakeup;
98 99 100
		};
	};

101 102 103 104 105 106 107
	leds {
		compatible = "gpio-leds";
		status {
			gpios = <&gpx1 3 0 0x10000 2>;
			linux,default-trigger = "heartbeat";
		};
	};
108
};