#include "tegra30.dtsi"

/ {
	model = "Avionic Design Tamonten NG";
	compatible = "ad,tamonten-ng", "nvidia,tegra30";

	memory {
		reg = <0x80000000 0x40000000>;
	};

	chosen {
		stdout-path = &uartd;
	};

	aliases {
		i2c0 = "/i2c@7000c000";
		i2c1 = "/i2c@7000c700";
		i2c2 = "/i2c@7000c400";
		i2c3 = "/i2c@7000c500";
		i2c4 = "/i2c@7000d000";
		mmc0 = "/mmc@78000600";
		mmc1 = "/mmc@78000400";
		mmc2 = "/mmc@78000000";
		usb0 = "/usb@7d008000";
	};

	/* GEN1 */
	i2c@7000c000 {
		status = "okay";
		clock-frequency = <100000>;
	};

	/* GEN2 */
	i2c@7000c400 {
		clock-frequency = <100000>;
	};

	/* CAM */
	i2c@7000c500 {
		status = "okay";
		clock-frequency = <100000>;
	};

	/* DDC */
	i2c@7000c700 {
		status = "okay";
		clock-frequency = <100000>;
	};

	/* PWR */
	i2c@7000d000 {
		status = "okay";
		clock-frequency = <100000>;
	};

	/* SD slot on the base board */
	mmc@78000400 {
		cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
		wp-gpios = <&gpio TEGRA_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
		bus-width = <4>;
	};

	/* EMMC on the COM module */
	mmc@78000600 {
		status = "okay";
		bus-width = <8>;
		non-removable;
	};

	usb@7d008000 {
		status = "okay";
	};

	clocks {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		clk32k_in: clk@0 {
			compatible = "fixed-clock";
			reg=<0>;
			#clock-cells = <0>;
			clock-frequency = <32768>;
		};
	};
};
