2015-09-06 16:34:35 +07:00
|
|
|
/**
|
|
|
|
* dts file for Hisilicon D02 Development 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/;
|
|
|
|
|
2016-01-29 15:39:05 +07:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2015-09-06 16:34:35 +07:00
|
|
|
#include "hip05.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Hisilicon Hip05 D02 Development Board";
|
|
|
|
compatible = "hisilicon,hip05-d02";
|
|
|
|
|
|
|
|
memory@00000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x0 0x00000000 0x0 0x80000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
2016-01-29 15:39:05 +07:00
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
pwrbutton {
|
|
|
|
label = "Power Button";
|
|
|
|
gpios = <&porta 8 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <116>;
|
|
|
|
debounce-interval = <0>;
|
|
|
|
};
|
|
|
|
};
|
2015-09-06 16:34:35 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
2016-01-29 15:39:05 +07:00
|
|
|
|
|
|
|
&peri_gpio0 {
|
|
|
|
status = "ok";
|
|
|
|
};
|