[BACK]Return to ethernut5.dts CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / external / gpl2 / dts / dist / arch / arm / boot / dts

File: [cvs.NetBSD.org] / src / sys / external / gpl2 / dts / dist / arch / arm / boot / dts / ethernut5.dts (download)

Revision 1.1.1.3 (vendor branch), Sat Apr 28 18:25:52 2018 UTC (5 years, 11 months ago) by jmcneill
Branch: MAIN, LINUX
CVS Tags: phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, linux-5_1_4, linux-4_20_3, linux-4_18-rc2, linux-4_17-rc2, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.1.1.2: +12 -0 lines

Import dts from Linux 4.17-rc2

/*
 * ethernut5.dts - Device Tree file for Ethernut 5 board
 *
 * Copyright (C) 2012 egnite GmbH <info@egnite.de>
 *
 * Licensed under GPLv2.
 */
/dts-v1/;
#include "at91sam9xe.dtsi"

/ {
	model = "Ethernut 5";
	compatible = "egnite,ethernut5", "atmel,at91sam9260", "atmel,at91sam9";

	chosen {
		bootargs = "console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2";
	};

	memory {
		reg = <0x20000000 0x08000000>;
	};

	clocks {
		slow_xtal {
			clock-frequency = <32768>;
		};

		main_xtal {
			clock-frequency = <18432000>;
		};
	};

	ahb {
		apb {
			dbgu: serial@fffff200 {
				status = "okay";
			};

			tcb0: timer@fffa0000 {
				timer@0 {
					compatible = "atmel,tcb-timer";
					reg = <0>, <1>;
				};

				timer@2 {
					compatible = "atmel,tcb-timer";
					reg = <2>;
				};
			};

			usart0: serial@fffb0000 {
				status = "okay";
			};

			usart1: serial@fffb4000 {
				status = "okay";
			};

			macb0: ethernet@fffc4000 {
				phy-mode = "rmii";
				status = "okay";
			};

			usb1: gadget@fffa4000 {
				atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
				status = "okay";
			};
		};

		ebi: ebi@10000000 {
			status = "okay";

			nand_controller: nand-controller {
				status = "okay";
				pinctrl-0 = <&pinctrl_nand_cs>;
				pinctrl-names = "default";

				nand: nand@3 {
					reg = <0x3 0x0 0x800000>;
					cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
					nand-bus-width = <8>;
					nand-ecc-mode = "soft";
					nand-on-flash-bbt;
					label = "atmel_nand";

					partitions {
						compatible = "fixed-partitions";
						#address-cells = <1>;
						#size-cells = <1>;

						root@0 {
							label = "root";
							reg = <0x0 0x08000000>;
						};

						data@20000 {
							label = "data";
							reg = <0x08000000 0x38000000>;
						};
					};
				};
			};
		};

		usb0: ohci@500000 {
			num-ports = <2>;
			status = "okay";
		};
	};

	i2c-gpio-0 {
		status = "okay";

		pcf8563@50 {
			compatible = "nxp,pcf8563";
			reg = <0x51>;
		};
	};
};