Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae62a32d authored by Adam Ford's avatar Adam Ford Committed by Sekhar Nori
Browse files

ARM: dts: da850-evm: use phandles to extend nodes



Many node labels in the device tree (like serial0, serial1, etc) are being
redefined, so let's modernize the device tree by using phandles to
extend the existing nodes.  This helps reduce the whitespace.

Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
[nsekhar@ti.com: drop tps6507x related changes]
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent d1f94959
Loading
Loading
Loading
Loading
+147 −137
Original line number Diff line number Diff line
@@ -27,8 +27,43 @@
		spi0 = &spi1;
	};

	soc@1c00000 {
		pmx_core: pinmux@14120 {
	vbat: fixedregulator0 {
		compatible = "regulator-fixed";
		regulator-name = "vbat";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-boot-on;
	};

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "DA850/OMAP-L138 EVM";
		simple-audio-card,widgets =
			"Line", "Line In",
			"Line", "Line Out";
		simple-audio-card,routing =
			"LINE1L", "Line In",
			"LINE1R", "Line In",
			"Line Out", "LLOUT",
			"Line Out", "RLOUT";
		simple-audio-card,format = "dsp_b";
		simple-audio-card,bitclock-master = <&link0_codec>;
		simple-audio-card,frame-master = <&link0_codec>;
		simple-audio-card,bitclock-inversion;

		simple-audio-card,cpu {
			sound-dai = <&mcasp0>;
			system-clock-frequency = <24576000>;
		};

		link0_codec: simple-audio-card,codec {
			sound-dai = <&tlv320aic3106>;
			system-clock-frequency = <24576000>;
		};
	};
};

&pmx_core {
	status = "okay";

	mcasp0_pins: pinmux_mcasp0_pins {
@@ -57,19 +92,24 @@
		>;
	};
};
		serial0: serial@42000 {

&serial0 {
	status = "okay";
};
		serial1: serial@10c000 {

&serial1 {
	status = "okay";
};
		serial2: serial@10d000 {

&serial2 {
	status = "okay";
};
		rtc0: rtc@23000 {

&rtc0 {
	status = "okay";
};
		i2c0: i2c@22000 {

&i2c0 {
	status = "okay";
	clock-frequency = <100000>;
	pinctrl-names = "default";
@@ -98,17 +138,20 @@
		#gpio-cells = <2>;
	};
};
		wdt: wdt@21000 {

&wdt {
	status = "okay";
};
		mmc0: mmc@40000 {

&mmc0 {
	max-frequency = <50000000>;
	bus-width = <4>;
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mmc0_pins>;
};
		spi1: spi@30e000 {

&spi1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
@@ -149,55 +192,22 @@
		};
	};
};
		mdio: mdio@224000 {

&mdio {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mdio_pins>;
	bus_freq = <2200000>;
};
		eth0: ethernet@220000 {

&eth0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mii_pins>;
};
		gpio: gpio@226000 {
			status = "okay";
		};
	};
	vbat: fixedregulator0 {
		compatible = "regulator-fixed";
		regulator-name = "vbat";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-boot-on;
	};

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "DA850/OMAP-L138 EVM";
		simple-audio-card,widgets =
			"Line", "Line In",
			"Line", "Line Out";
		simple-audio-card,routing =
			"LINE1L", "Line In",
			"LINE1R", "Line In",
			"Line Out", "LLOUT",
			"Line Out", "RLOUT";
		simple-audio-card,format = "dsp_b";
		simple-audio-card,bitclock-master = <&link0_codec>;
		simple-audio-card,frame-master = <&link0_codec>;
		simple-audio-card,bitclock-inversion;

		simple-audio-card,cpu {
			sound-dai = <&mcasp0>;
			system-clock-frequency = <24576000>;
		};

		link0_codec: simple-audio-card,codec {
			sound-dai = <&tlv320aic3106>;
			system-clock-frequency = <24576000>;
		};
	};
&gpio {
	status = "okay";
};

/include/ "tps6507x.dtsi"