blob: e9436c0d81f7b484ef171a6c84e655a3765b0b92 [file] [log] [blame]
Ding Tianhongfcab3032015-09-06 17:34:35 +08001/**
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
Kefeng Wang82a14b12016-01-29 16:39:05 +080014#include <dt-bindings/gpio/gpio.h>
Ding Tianhongfcab3032015-09-06 17:34:35 +080015#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 };
Kefeng Wang82a14b12016-01-29 16:39:05 +080033
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 };
Ding Tianhongfcab3032015-09-06 17:34:35 +080046};
47
48&uart0 {
49 status = "ok";
50};
Kefeng Wang82a14b12016-01-29 16:39:05 +080051
52&peri_gpio0 {
53 status = "ok";
54};