ste-ccu9540.dts 1.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/*
 * Copyright 2012 ST-Ericsson AB
 *
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

/dts-v1/;
13
#include "ste-dbx5x0.dtsi"
14 15

/ {
16
	model = "ST-Ericsson CCU9540 platform with Device Tree";
17
	compatible = "st-ericsson,ccu9540", "st-ericsson,u9540";
18

19 20 21 22 23 24 25
	/* This stablilizes the serial port enumeration */
	aliases {
		serial0 = &ux500_serial0;
		serial1 = &ux500_serial1;
		serial2 = &ux500_serial2;
	};

26 27 28 29
	memory {
		reg = <0x00000000 0x20000000>;
	};

30
	soc {
31 32 33 34 35 36 37 38 39 40 41
		uart@80120000 {
			status = "okay";
		};

		uart@80121000 {
			status = "okay";
		};

		uart@80007000 {
			status = "okay";
		};
42

43 44 45 46 47
		// External Micro SD slot
		sdi0_per1@80126000 {
			arm,primecell-periphid = <0x10480180>;
			max-frequency = <100000000>;
			bus-width = <4>;
48 49
			cap-sd-highspeed;
			cap-mmc-highspeed;
50 51
			vmmc-supply = <&ab8500_ldo_aux3_reg>;

52
			cd-gpios  = <&gpio7 6 GPIO_ACTIVE_HIGH>; // 230
53 54 55 56 57 58 59 60 61
			cd-inverted;

			status = "okay";
		};


		// WLAN SDIO channel
		sdi1_per2@80118000 {
			arm,primecell-periphid = <0x10480180>;
62
			max-frequency = <100000000>;
63 64 65 66 67
			bus-width = <4>;

			status = "okay";
		};

68 69 70
		// On-board eMMC
		sdi4_per2@80114000 {
			arm,primecell-periphid = <0x10480180>;
71
		        max-frequency = <100000000>;
72
			bus-width = <8>;
73
			cap-mmc-highspeed;
74 75 76 77
			vmmc-supply = <&ab8500_ldo_aux2_reg>;

			status = "okay";
		};
78
	};
79
};