sh73a0-kzm9g-reference.dts 1.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 25 26 27 28 29
/*
 * Device Tree Source for the KZM-A9-GT board
 *
 * Copyright (C) 2012 Horms Solutions Ltd.
 *
 * Based on sh73a0-kzm9g.dts
 * Copyright (C) 2012 Renesas Solutions Corp.
 *
 * This file is licensed under the terms of the GNU General Public License
 * version 2.  This program is licensed "as is" without any warranty of any
 * kind, whether express or implied.
 */

/dts-v1/;
/include/ "sh73a0-reference.dtsi"

/ {
	model = "KZM-A9-GT";
	compatible = "renesas,kzm9g-reference", "renesas,sh73a0";

	chosen {
		bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200";
	};

	memory {
		device_type = "memory";
		reg = <0x41000000 0x1e800000>;
	};

30
	reg_1p8v: regulator@0 {
31 32 33 34
		compatible = "regulator-fixed";
		regulator-name = "fixed-1.8V";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
35 36 37 38
		regulator-always-on;
		regulator-boot-on;
	};

39
	reg_3p3v: regulator@1 {
40
		compatible = "regulator-fixed";
41 42 43
		regulator-name = "fixed-3.3V";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
44 45 46 47 48 49 50 51 52 53 54
		regulator-always-on;
		regulator-boot-on;
	};

	sdhi0: sdhi@0xee100000 {
		compatible = "renesas,shmobile-sdhi";
		reg = <0xee100000 0x100>;
		interrupt-parent = <&gic>;
		interrupts = <0 83 4
				0 84 4
				0 85 4>;
55
		vmmc-supply = <&reg_3p3v>;
56 57 58 59 60 61 62 63 64 65
		bus-width = <4>;
		toshiba,mmc-has-idle-wait;
	};

	sdhi2: sdhi@0xee140000 {
		compatible = "renesas,shmobile-sdhi";
		reg = <0xee140000 0x100>;
		interrupt-parent = <&gic>;
		interrupts = <0 104 4
				0 105 4>;
66
		vmmc-supply = <&reg_3p3v>;
67 68 69 70
		bus-width = <4>;
		broken-cd;
		toshiba,mmc-wrprotect-disable;
		toshiba,mmc-has-idle-wait;
71 72 73 74
	};
};

&mmcif {
75 76
	bus-width = <8>;
	vmmc-supply = <&reg_1p8v>;
77
};