1/dts-v1/;
2
3#include <dt-bindings/gpio/gpio.h>
4
5/include/ "etraxfs.dtsi"
6
7/ {
8	model = "Axis 88 Developer Board";
9	compatible = "axis,dev88";
10
11	aliases {
12		serial0 = &uart0;
13	};
14
15	soc {
16		uart0: serial@b00260000 {
17			status = "okay";
18		};
19	};
20
21	spi {
22		compatible = "spi-gpio";
23		#address-cells = <1>;
24		#size-cells = <0>;
25
26		gpio-sck = <&gio 1 0 0xd>;
27		gpio-miso = <&gio 4 0 0xd>;
28		gpio-mosi = <&gio 0 0 0xd>;
29		cs-gpios = <&gio 3 0 0xd>;
30		num-chipselects = <1>;
31
32		temp-sensor@0 {
33			compatible = "ti,lm70";
34			reg = <0>;
35
36			spi-max-frequency = <100000>;
37		};
38	};
39
40	i2c {
41		compatible = "i2c-gpio";
42		gpios = <&gio 5 0 0xd>, <&gio 6 0 0xd>;
43		i2c-gpio,delay-us = <2>;
44		#address-cells = <1>;
45		#size-cells = <0>;
46
47		rtc@51 {
48			compatible = "nxp,pcf8563";
49			reg = <0x51>;
50		};
51	};
52
53	leds {
54		compatible = "gpio-leds";
55
56		network {
57			label = "network";
58			gpios = <&gio 2 GPIO_ACTIVE_LOW 0xa>;
59		};
60
61		status {
62			label = "status";
63			gpios = <&gio 3 GPIO_ACTIVE_LOW 0xa>;
64			linux,default-trigger = "heartbeat";
65		};
66	};
67};
68