| /** |
| * 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/; |
| |
| #include <dt-bindings/gpio/gpio.h> |
| #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"; |
| }; |
| |
| 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>; |
| }; |
| }; |
| }; |
| |
| &uart0 { |
| status = "ok"; |
| }; |
| |
| &peri_gpio0 { |
| status = "ok"; |
| }; |