exynos4210-origen.dts 2.7 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
/*
 * 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 {
25 26 27 28
		reg = <0x40000000 0x10000000
		       0x50000000 0x10000000
		       0x60000000 0x10000000
		       0x70000000 0x10000000>;
29 30 31 32 33 34
	};

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

35 36 37 38 39 40 41 42 43
	mmc_reg: voltage-regulator {
	        compatible = "regulator-fixed";
		regulator-name = "VMEM_VDD_2.8V";
		regulator-min-microvolt = <2800000>;
		regulator-max-microvolt = <2800000>;
		gpio = <&gpx1 1 0>;
		enable-active-high;
	};

44
	sdhci@12530000 {
45
		bus-width = <4>;
46 47
		pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
		pinctrl-names = "default";
48
		vmmc-supply = <&mmc_reg>;
49
		status = "okay";
50 51 52
	};

	sdhci@12510000 {
53
		bus-width = <4>;
54 55
		pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
		pinctrl-names = "default";
56
		vmmc-supply = <&mmc_reg>;
57
		status = "okay";
58 59
	};

60 61 62 63
	g2d@12800000 {
		status = "okay";
	};

64 65 66 67 68 69
	codec@13400000 {
		samsung,mfc-r = <0x43000000 0x800000>;
		samsung,mfc-l = <0x51000000 0x800000>;
		status = "okay";
	};

70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
	serial@13800000 {
		status = "okay";
	};

	serial@13810000 {
		status = "okay";
	};

	serial@13820000 {
		status = "okay";
	};

	serial@13830000 {
		status = "okay";
	};

86 87 88 89 90 91 92
	gpio_keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;

		up {
			label = "Up";
93
			gpios = <&gpx2 0 1>;
94
			linux,code = <103>;
95
			gpio-key,wakeup;
96 97 98 99
		};

		down {
			label = "Down";
100
			gpios = <&gpx2 1 1>;
101
			linux,code = <108>;
102
			gpio-key,wakeup;
103 104 105 106
		};

		back {
			label = "Back";
107
			gpios = <&gpx1 7 1>;
108
			linux,code = <158>;
109
			gpio-key,wakeup;
110 111 112 113
		};

		home {
			label = "Home";
114
			gpios = <&gpx1 6 1>;
115
			linux,code = <102>;
116
			gpio-key,wakeup;
117 118 119 120
		};

		menu {
			label = "Menu";
121
			gpios = <&gpx1 5 1>;
122
			linux,code = <139>;
123
			gpio-key,wakeup;
124 125 126
		};
	};

127 128 129
	leds {
		compatible = "gpio-leds";
		status {
130
			gpios = <&gpx1 3 1>;
131 132 133
			linux,default-trigger = "heartbeat";
		};
	};
134 135 136 137 138 139 140 141 142 143 144 145

	fixed-rate-clocks {
		xxti {
			compatible = "samsung,clock-xxti";
			clock-frequency = <0>;
		};

		xusbxti {
			compatible = "samsung,clock-xusbxti";
			clock-frequency = <24000000>;
		};
	};
146
};