File: dev88.dts

package info (click to toggle)
linux 4.9.25-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 794,052 kB
  • ctags: 3,033,799
  • sloc: ansic: 14,481,780; asm: 287,385; makefile: 35,234; perl: 27,553; sh: 15,791; python: 13,364; cpp: 6,087; yacc: 4,337; lex: 2,439; awk: 1,212; pascal: 231; lisp: 218; sed: 21
file content (67 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/dts-v1/;

#include <dt-bindings/gpio/gpio.h>

/include/ "etraxfs.dtsi"

/ {
	model = "Axis 88 Developer Board";
	compatible = "axis,dev88";

	aliases {
		serial0 = &uart0;
	};

	soc {
		uart0: serial@b00260000 {
			status = "okay";
		};
	};

	spi {
		compatible = "spi-gpio";
		#address-cells = <1>;
		#size-cells = <0>;

		gpio-sck = <&gio 1 0 0xd>;
		gpio-miso = <&gio 4 0 0xd>;
		gpio-mosi = <&gio 0 0 0xd>;
		cs-gpios = <&gio 3 0 0xd>;
		num-chipselects = <1>;

		temp-sensor@0 {
			compatible = "ti,lm70";
			reg = <0>;

			spi-max-frequency = <100000>;
		};
	};

	i2c {
		compatible = "i2c-gpio";
		gpios = <&gio 5 0 0xd>, <&gio 6 0 0xd>;
		i2c-gpio,delay-us = <2>;
		#address-cells = <1>;
		#size-cells = <0>;

		rtc@51 {
			compatible = "nxp,pcf8563";
			reg = <0x51>;
		};
	};

	leds {
		compatible = "gpio-leds";

		network {
			label = "network";
			gpios = <&gio 2 GPIO_ACTIVE_LOW 0xa>;
		};

		status {
			label = "status";
			gpios = <&gio 3 GPIO_ACTIVE_LOW 0xa>;
			linux,default-trigger = "heartbeat";
		};
	};
};