Linux Audio

Check our new training course

Loading...
Note: File does not exist in v6.13.7.
  1/*
  2 * Copyright 2011 Freescale Semiconductor, Inc.
  3 * Copyright 2011 Linaro Ltd.
  4 *
  5 * The code contained herein is licensed under the GNU General Public
  6 * License. You may obtain a copy of the GNU General Public License
  7 * Version 2 or later at the following locations:
  8 *
  9 * http://www.opensource.org/licenses/gpl-license.html
 10 * http://www.gnu.org/copyleft/gpl.html
 11 */
 12
 13/dts-v1/;
 14/include/ "imx53.dtsi"
 15
 16/ {
 17	model = "Freescale i.MX53 Automotive Reference Design Board";
 18	compatible = "fsl,imx53-ard", "fsl,imx53";
 19
 20	memory {
 21		reg = <0x70000000 0x40000000>;
 22	};
 23
 24	soc {
 25		aips@50000000 { /* AIPS1 */
 26			spba@50000000 {
 27				esdhc@50004000 { /* ESDHC1 */
 28					cd-gpios = <&gpio1 1 0>;
 29					wp-gpios = <&gpio1 9 0>;
 30					status = "okay";
 31				};
 32			};
 33
 34			wdog@53f98000 { /* WDOG1 */
 35				status = "okay";
 36			};
 37
 38			iomuxc@53fa8000 {
 39				compatible = "fsl,imx53-iomuxc-ard";
 40				reg = <0x53fa8000 0x4000>;
 41			};
 42
 43			uart1: serial@53fbc000 {
 44				status = "okay";
 45			};
 46		};
 47
 48		aips@60000000 {	/* AIPS2 */
 49			sdma@63fb0000 {
 50				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
 51			};
 52		};
 53	};
 54
 55	eim-cs1@f4000000 {
 56		#address-cells = <1>;
 57		#size-cells = <1>;
 58		compatible = "fsl,eim-bus", "simple-bus";
 59		reg = <0xf4000000 0x3ff0000>;
 60		ranges;
 61
 62		lan9220@f4000000 {
 63			compatible = "smsc,lan9220", "smsc,lan9115";
 64			reg = <0xf4000000 0x2000000>;
 65			phy-mode = "mii";
 66			interrupt-parent = <&gpio2>;
 67			interrupts = <31>;
 68			reg-io-width = <4>;
 69			/*
 70			 * VDD33A and VDDVARIO of LAN9220 are supplied by
 71			 * SW4_3V3 of LTC3589.  Before the regulator driver
 72			 * for this PMIC is available, we use a fixed dummy
 73			 * 3V3 regulator to get LAN9220 driver probing work.
 74			 */
 75			vdd33a-supply = <&reg_3p3v>;
 76			vddvario-supply = <&reg_3p3v>;
 77			smsc,irq-push-pull;
 78		};
 79	};
 80
 81	regulators {
 82		compatible = "simple-bus";
 83
 84		reg_3p3v: 3p3v {
 85			compatible = "regulator-fixed";
 86			regulator-name = "3P3V";
 87			regulator-min-microvolt = <3300000>;
 88			regulator-max-microvolt = <3300000>;
 89			regulator-always-on;
 90		};
 91	};
 92
 93	gpio-keys {
 94		compatible = "gpio-keys";
 95
 96		home {
 97			label = "Home";
 98			gpios = <&gpio5 10 0>;
 99			linux,code = <102>; /* KEY_HOME */
100			gpio-key,wakeup;
101		};
102
103		back {
104			label = "Back";
105			gpios = <&gpio5 11 0>;
106			linux,code = <158>; /* KEY_BACK */
107			gpio-key,wakeup;
108		};
109
110		program {
111			label = "Program";
112			gpios = <&gpio5 12 0>;
113			linux,code = <362>; /* KEY_PROGRAM */
114			gpio-key,wakeup;
115		};
116
117		volume-up {
118			label = "Volume Up";
119			gpios = <&gpio5 13 0>;
120			linux,code = <115>; /* KEY_VOLUMEUP */
121		};
122
123		volume-down {
124			label = "Volume Down";
125			gpios = <&gpio4 0 0>;
126			linux,code = <114>; /* KEY_VOLUMEDOWN */
127		};
128	};
129};