]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/arm/boot/dts/gemini-wbd111.dts
ARM: dts: add a devicetree for Wiliboard WBD-111
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / boot / dts / gemini-wbd111.dts
CommitLineData
2aeeb182
LW
1/*
2 * Device Tree file for Wiliboard WBD-111
3 */
4
5/dts-v1/;
6
7#include "gemini.dtsi"
8#include <dt-bindings/input/input.h>
9
10/ {
11 model = "Wiliboard WBD-111";
12 compatible = "wiliboard,wbd111", "cortina,gemini";
13 #address-cells = <1>;
14 #size-cells = <1>;
15
16 memory { /* 128 MB */
17 device_type = "memory";
18 reg = <0x00000000 0x8000000>;
19 };
20
21 chosen {
22 bootargs = "console=ttyS0,115200n8";
23 stdout-path = &uart0;
24 };
25
26 gpio_keys {
27 compatible = "gpio-keys";
28 #address-cells = <1>;
29 #size-cells = <0>;
30
31 button@5 {
32 debounce_interval = <50>;
33 wakeup-source;
34 linux,code = <KEY_SETUP>;
35 label = "reset";
36 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
37 };
38 };
39
40 leds {
41 compatible = "gpio-leds";
42
43 led@1 {
44 label = "wbd111:red:L3";
45 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
46 default-state = "off";
47 };
48 led@2 {
49 label = "wbd111:green:L4";
50 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
51 default-state = "off";
52 };
53 led@3 {
54 label = "wbd111:red:L4";
55 gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
56 default-state = "off";
57 };
58 led@5 {
59 label = "wbd111:green:L3";
60 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
61 default-state = "on";
62 linux,default-trigger = "heartbeat";
63 };
64 };
65
66 soc {
67 flash@30000000 {
68 status = "okay";
69 /* 8MB of flash */
70 reg = <0x30000000 0x00800000>;
71
72 partition@0 {
73 label = "RedBoot";
74 reg = <0x00000000 0x00020000>;
75 read-only;
76 };
77 partition@20000 {
78 label = "kernel";
79 reg = <0x00020000 0x00100000>;
80 };
81 partition@120000 {
82 label = "rootfs";
83 reg = <0x00120000 0x006a0000>;
84 };
85 partition@7c0000 {
86 label = "VCTL";
87 reg = <0x007c0000 0x00010000>;
88 read-only;
89 };
90 partition@7d0000 {
91 label = "cfg";
92 reg = <0x007d0000 0x00010000>;
93 read-only;
94 };
95 partition@7e0000 {
96 label = "FIS";
97 reg = <0x007e0000 0x00010000>;
98 read-only;
99 };
100 };
101 };
102};