summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
blob: 7a8d4745e5a0928a4b94479d495193ce071a5beb (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
/**
 * dts file for Hisilicon PhosphorV660 D02 Board
 *
 * Copyright (C) 2014,2015 Hisilicon Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * publishhed by the Free Software Foundation.
 *
 */

/dts-v1/;

/include/ "hip05.dtsi"
/include/ "hisi_p660_pcie_d02.dtsi"

/ {
	model = "Hisilicon PhosphorV660 D02 Development Board";
	compatible = "hisilicon,hip05-d02", "hisilicon,hisi-pv660";

	memory@00000000 {
		device_type = "memory";
		reg = <0x0 0x00000000 0x0 0x80000000>;
	};

	chosen {
		bootargs = "earlycon=uart8250,mmio32,0x80300000 console=ttyS0,115200 initrd=0x7000000,350M";
	};

	gpio_keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;

		pwrbutton {
			label = "Power Button";
			gpios = <&porta 8 1>;
			linux,input-type = <0x16>;
			linux,code = <116>;
			debounce-interval = <0>;
		};
	};

	gpio_leds {
		compatible = "gpio-leds";
		led@1 {
			label = "Heartbeat";
			gpios = <&porta 12 1>;
			linux,default-trigger = "heartbeat";
			default-state = "on";
		};
	};
};

&uart0 {
	status = "okay";
};

&ahci0 {
	status = "okay";
};

&m3_i2c0 {
	clock-frequency = <400000>;
	status = "okay";
};

&m3_i2c1 {
	clock-frequency = <400000>;
	status = "okay";

	rtc: ds3231@68 {
		compatible = "maxim,ds3231";
		reg = <0x68>;
	};

	eeprom: at24c128@52 {
		compatible = "microchip,24c128";
		reg = <0x52>;
		pagesize = <64>;
	};

	tsensor: adt75@48 {
		compatible = "adi,adt75";
		reg = <0x48>;
	};

	dtt: lm96080@28 {
		compatible = "national,lm96080";
		reg = <0x28>;
	};
};

&m3_i2c2 {
	clock-frequency = <400000>;
	status = "okay";
};

&pc_i2c0 {
	clock-frequency = <400000>;
	status = "okay";
};

&pc_i2c1 {
	clock-frequency = <400000>;
	status = "okay";
};

&eth0 {
	status = "okay";
};

&eth1 {
	status = "okay";
};

&eth4 {
	status = "okay";
};

&eth5 {
	status = "okay";
};