summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt/dts/mips/fbsd-mt7620a.dtsi
blob: 8f4c9d56dcc824994b15093aef3464af3ed5a564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/* $FreeBSD$ */

/ {

	/*
	 * FreeBSD's stdin and stdout, so we can have a console
	 */
	chosen {
		stdin = &uartlite;
		stdout = &uartlite;
	};

	/*
	 * OpenWRT doesn't define a clock controller, but we currently need one
	 */
	clkctrl: cltctrl {
		compatible = "ralink,rt2880-clock";
		#clock-cells = <1>;
	};

	palmbus@10000000 {
		/*
		 * Make palmbus compatible to our simplebus
		 */
		compatible = "simple-bus";

		/*
		 * Reference uartlite@c00 as uartlite, so we can address it
		 * within the chosen node above
		 */
		uartlite: uartlite@c00 {};
	};

	usbphy: usbphy {
		clocks = <&clkctrl 22 &clkctrl 25>;
		clock-names = "host", "device";
	};

	pcie@10140000 {
		/*
		 * Our driver is different that OpenWRT's, so we need slightly
		 * different values for the reg property
		 */
		reg = <0x10140000 0x10000>;

		/*
		 * Also, we need resets and clocks defined, so we can properly
		 * initialize the PCIe
		 */
		clocks = <&clkctrl 26>;
	};
};
OpenPOWER on IntegriCloud