xref: /linux/arch/arm64/boot/dts/hisilicon/hip05-d02.dts (revision 6ea24cf79e055f0a62a64baa8587e2254a493c7b)
1/**
2 * dts file for Hisilicon D02 Development Board
3 *
4 * Copyright (C) 2014,2015 Hisilicon Ltd.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * publishhed by the Free Software Foundation.
9 *
10 */
11
12/dts-v1/;
13
14#include <dt-bindings/gpio/gpio.h>
15#include "hip05.dtsi"
16
17/ {
18	model = "Hisilicon Hip05 D02 Development Board";
19	compatible = "hisilicon,hip05-d02";
20
21	memory@00000000 {
22		device_type = "memory";
23		reg = <0x0 0x00000000 0x0 0x80000000>;
24	};
25
26	aliases {
27		serial0 = &uart0;
28	};
29
30	chosen {
31		stdout-path = "serial0:115200n8";
32	};
33
34	gpio_keys {
35		compatible = "gpio-keys";
36		#address-cells = <1>;
37		#size-cells = <0>;
38
39		pwrbutton {
40			label = "Power Button";
41			gpios = <&porta 8 GPIO_ACTIVE_LOW>;
42			linux,code = <116>;
43			debounce-interval = <0>;
44		};
45	};
46};
47
48&uart0 {
49	status = "ok";
50};
51
52&peri_gpio0 {
53	status = "ok";
54};
55