xref: /linux/arch/arm64/boot/dts/hisilicon/hip05-d02.dts (revision b6d90158c935d4a22e56f41647b479ab5ea449d4)
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
56&lbc {
57	status = "ok";
58	#address-cells = <2>;
59	#size-cells = <1>;
60	ranges = <0 0 0x0 0x90000000 0x08000000>,
61		 <1 0 0x0 0x98000000 0x08000000>;
62
63	nor-flash@0,0 {
64		#address-cells = <1>;
65		#size-cells = <1>;
66		compatible = "numonyx,js28f00a", "cfi-flash";
67		reg = <0 0x0 0x08000000>;
68		bank-width = <2>;
69		/* The three parts may not used */
70		partition@0 {
71			label = "BIOS";
72			reg = <0x0 0x300000>;
73		};
74		partition@300000 {
75			label = "Linux";
76			reg = <0x300000 0xa00000>;
77		};
78		partition@1000000 {
79			label = "Rootfs";
80			reg = <0x01000000 0x02000000>;
81		};
82	};
83
84	cpld@1,0 {
85		compatible = "hisilicon,hip05-cpld";
86		reg = <1 0x0 0x100>;
87	};
88};
89