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