Lee Jones | 7c0e06b | 2014-05-21 10:45:00 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 STMicroelectronics (R&D) Limited. |
| 3 | * Author: Lee Jones <lee.jones@linaro.org> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * publishhed by the Free Software Foundation. |
| 8 | */ |
| 9 | /dts-v1/; |
| 10 | #include "stih416.dtsi" |
| 11 | #include "stih41x-b2020.dtsi" |
| 12 | / { |
| 13 | model = "STiH416 B2020 REV-E"; |
| 14 | compatible = "st,stih416-b2020", "st,stih416"; |
| 15 | |
| 16 | soc { |
Lee Jones | 106e6fb | 2014-05-21 10:45:00 +0200 | [diff] [blame] | 17 | leds { |
| 18 | compatible = "gpio-leds"; |
| 19 | red { |
| 20 | #gpio-cells = <1>; |
| 21 | label = "Front Panel LED"; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 22 | gpios = <&pio4 1>; |
Lee Jones | 106e6fb | 2014-05-21 10:45:00 +0200 | [diff] [blame] | 23 | linux,default-trigger = "heartbeat"; |
| 24 | }; |
| 25 | green { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 26 | gpios = <&pio1 3>; |
Lee Jones | 106e6fb | 2014-05-21 10:45:00 +0200 | [diff] [blame] | 27 | default-state = "off"; |
| 28 | }; |
| 29 | }; |
| 30 | |
Lee Jones | 7c0e06b | 2014-05-21 10:45:00 +0200 | [diff] [blame] | 31 | ethernet1: dwmac@fef08000 { |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 32 | snps,reset-gpio = <&pio0 7>; |
Lee Jones | 7c0e06b | 2014-05-21 10:45:00 +0200 | [diff] [blame] | 33 | }; |
Peter Griffin | f631bc16 | 2014-07-09 17:07:00 +0200 | [diff] [blame] | 34 | |
| 35 | mmc1: sdhci@fe81f000 { |
| 36 | status = "okay"; |
| 37 | bus-width = <8>; |
| 38 | non-removable; |
| 39 | }; |
Lee Jones | d436a60 | 2014-07-11 13:54:00 +0200 | [diff] [blame] | 40 | |
Peter Griffin | 3ece2c2 | 2014-11-17 17:48:00 +0100 | [diff] [blame] | 41 | miphy365x_phy: phy@fe382000 { |
Lee Jones | d436a60 | 2014-07-11 13:54:00 +0200 | [diff] [blame] | 42 | phy_port0: port@fe382000 { |
| 43 | st,sata-gen = <3>; |
| 44 | }; |
| 45 | |
| 46 | phy_port1: port@fe38a000 { |
| 47 | st,pcie-tx-pol-inv; |
| 48 | }; |
| 49 | }; |
Lee Jones | 45188b7 | 2014-07-22 11:28:00 +0200 | [diff] [blame] | 50 | |
| 51 | sata0: sata@fe380000{ |
| 52 | status = "okay"; |
| 53 | }; |
Lee Jones | bc7dbcd | 2015-05-12 14:51:00 +0200 | [diff] [blame] | 54 | |
| 55 | /* SAS PWM Module */ |
| 56 | pwm0: pwm@fed10000 { |
| 57 | status = "okay"; |
| 58 | }; |
| 59 | |
| 60 | /* SBC PWM Module */ |
| 61 | pwm1: pwm@fe510000 { |
| 62 | status = "okay"; |
| 63 | }; |
Lee Jones | 7c0e06b | 2014-05-21 10:45:00 +0200 | [diff] [blame] | 64 | }; |
| 65 | }; |