summaryrefslogtreecommitdiff
path: root/arch/mips/dts/comtrend,ct-5361.dts
blob: f6b8a94e255d7a7064618f4988b1bbfac00f7890 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
 */

/dts-v1/;

#include "brcm,bcm6348.dtsi"

/ {
	model = "Comtrend CT-5361";
	compatible = "comtrend,ct-5361", "brcm,bcm6348";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	gpio-leds {
		compatible = "gpio-leds";

		power_green {
			label = "CT-5361:green:power";
			gpios = <&gpio0 0 1>;
		};

		alarm_red {
			label = "CT-5361:red:alarm";
			gpios = <&gpio0 2 1>;
		};
	};
};

&enet1 {
	status = "okay";
	phy = <&enet1phy>;
	phy-mode = "mii";

	enet1phy: fixed-link {
		reg = <1>;
		speed = <100>;
		full-duplex;
	};
};

&gpio0 {
	status = "okay";
};

&ohci {
	status = "okay";
};

&pflash {
	status = "okay";
};

&uart0 {
	u-boot,dm-pre-reloc;
	status = "okay";
};

&usbh {
	status = "okay";
};