blob: fab7bdbd0f15f15aa34e38d3cdd2297c88db4616 [file] [log] [blame]
Rabin Vincent25624b92015-08-03 20:19:22 +02001/dts-v1/;
2
3#include <dt-bindings/gpio/gpio.h>
4#include <dt-bindings/input/input.h>
5
6/include/ "artpec3.dtsi"
7
8/ {
9 model = "Axis P1343 Network Camera";
10 compatible = "axis,p1343";
11
12 aliases {
13 serial0 = &uart0;
14 };
15
16 soc {
17 uart0: serial@b003e000 {
18 status = "okay";
19 };
20 };
21
22 i2c {
23 compatible = "i2c-gpio";
24 gpios = <&gio 3 0 0xa>, <&gio 2 0 0xa>;
25 i2c-gpio,delay-us = <2>;
26 #address-cells = <1>;
27 #size-cells = <0>;
28
29 rtc@51 {
30 compatible = "nxp,pcf8563";
31 reg = <0x51>;
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37
38 status_green {
39 label = "status:green";
40 gpios = <&gio 0 GPIO_ACTIVE_LOW 0xc>;
41 linux,default-trigger = "heartbeat";
42 };
43
44 status_red {
45 label = "status:red";
46 gpios = <&gio 1 GPIO_ACTIVE_LOW 0xc>;
47 };
48
49 network_green {
50 label = "network:green";
51 gpios = <&gio 2 GPIO_ACTIVE_LOW 0xc>;
52 };
53
54 network_red {
55 label = "network:red";
56 gpios = <&gio 3 GPIO_ACTIVE_LOW 0xc>;
57 };
58
59 power_red {
60 label = "power:red";
61 gpios = <&gio 4 GPIO_ACTIVE_LOW 0xc>;
62 };
63 };
64
65 gpio_keys {
66 compatible = "gpio-keys";
67 #address-cells = <1>;
68 #size-cells = <0>;
69
70 activity-button@0 {
71 label = "Activity Button";
72 linux,code = <KEY_FN>;
73 gpios = <&gio 13 GPIO_ACTIVE_LOW 0xd>;
74 };
75 };
76};