Ding Tianhong | fcab303 | 2015-09-06 17:34:35 +0800 | [diff] [blame] | 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 | |
Kefeng Wang | 82a14b1 | 2016-01-29 16:39:05 +0800 | [diff] [blame^] | 14 | #include <dt-bindings/gpio/gpio.h> |
Ding Tianhong | fcab303 | 2015-09-06 17:34:35 +0800 | [diff] [blame] | 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 | }; |
Kefeng Wang | 82a14b1 | 2016-01-29 16:39:05 +0800 | [diff] [blame^] | 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 | }; |
Ding Tianhong | fcab303 | 2015-09-06 17:34:35 +0800 | [diff] [blame] | 46 | }; |
| 47 | |
| 48 | &uart0 { |
| 49 | status = "ok"; |
| 50 | }; |
Kefeng Wang | 82a14b1 | 2016-01-29 16:39:05 +0800 | [diff] [blame^] | 51 | |
| 52 | &peri_gpio0 { |
| 53 | status = "ok"; |
| 54 | }; |