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