Maxime COQUELIN | 3fba703 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 STMicroelectronics (R&D) Limited. |
| 3 | * Author: Maxime Coquelin <maxime.coquelin@st.com> |
| 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 | * published by the Free Software Foundation. |
| 8 | */ |
| 9 | /dts-v1/; |
| 10 | #include "stih418.dtsi" |
Patrice Chotard | c3ee7e9 | 2016-08-10 15:13:00 +0200 | [diff] [blame] | 11 | #include <dt-bindings/gpio/gpio.h> |
Maxime COQUELIN | 3fba703 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 12 | / { |
| 13 | model = "STiH418 B2199"; |
| 14 | compatible = "st,stih418-b2199", "st,stih418"; |
| 15 | |
| 16 | chosen { |
| 17 | bootargs = "console=ttyAS0,115200 clk_ignore_unused"; |
| 18 | linux,stdout-path = &sbc_serial0; |
| 19 | }; |
| 20 | |
| 21 | memory { |
| 22 | device_type = "memory"; |
| 23 | reg = <0x40000000 0xc0000000>; |
| 24 | }; |
| 25 | |
| 26 | aliases { |
| 27 | ttyAS0 = &sbc_serial0; |
Maxime Coquelin | 69e7c85 | 2015-10-01 17:48:19 +0200 | [diff] [blame] | 28 | ethernet0 = ðernet0; |
Maxime COQUELIN | 3fba703 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | soc { |
| 32 | sbc_serial0: serial@9530000 { |
| 33 | status = "okay"; |
| 34 | }; |
| 35 | |
| 36 | leds { |
| 37 | compatible = "gpio-leds"; |
| 38 | red { |
Maxime COQUELIN | 3fba703 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 39 | label = "Front Panel LED"; |
Patrice Chotard | c3ee7e9 | 2016-08-10 15:13:00 +0200 | [diff] [blame] | 40 | gpios = <&pio4 1 GPIO_ACTIVE_HIGH>; |
Maxime COQUELIN | 3fba703 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 41 | linux,default-trigger = "heartbeat"; |
| 42 | }; |
| 43 | green { |
Patrice Chotard | c3ee7e9 | 2016-08-10 15:13:00 +0200 | [diff] [blame] | 44 | gpios = <&pio1 3 GPIO_ACTIVE_HIGH>; |
Maxime COQUELIN | 3fba703 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 45 | default-state = "off"; |
| 46 | }; |
| 47 | }; |
| 48 | |
| 49 | i2c@9842000 { |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | i2c@9843000 { |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | i2c@9844000 { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | i2c@9845000 { |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
| 65 | i2c@9540000 { |
| 66 | status = "okay"; |
| 67 | }; |
| 68 | |
| 69 | /* SSC11 to HDMI */ |
| 70 | i2c@9541000 { |
| 71 | status = "okay"; |
| 72 | /* HDMI V1.3a supports Standard mode only */ |
| 73 | clock-frequency = <100000>; |
| 74 | st,i2c-min-scl-pulse-width-us = <0>; |
| 75 | st,i2c-min-sda-pulse-width-us = <5>; |
| 76 | }; |
Peter Griffin | ba7f272 | 2015-04-10 11:40:00 +0200 | [diff] [blame] | 77 | |
| 78 | mmc1: sdhci@09080000 { |
| 79 | status = "okay"; |
| 80 | }; |
| 81 | |
| 82 | mmc0: sdhci@09060000 { |
| 83 | status = "okay"; |
| 84 | max-frequency = <200000000>; |
| 85 | sd-uhs-sdr50; |
| 86 | sd-uhs-sdr104; |
| 87 | sd-uhs-ddr50; |
Patrice Chotard | 8f416dc | 2016-08-15 14:17:00 +0200 | [diff] [blame] | 88 | non-removable; |
Peter Griffin | ba7f272 | 2015-04-10 11:40:00 +0200 | [diff] [blame] | 89 | }; |
Peter Griffin | 0dee58e | 2015-04-30 15:30:00 +0200 | [diff] [blame] | 90 | |
| 91 | miphy28lp_phy: miphy28lp@9b22000 { |
| 92 | |
| 93 | phy_port0: port@9b22000 { |
| 94 | st,osc-rdy; |
| 95 | }; |
| 96 | |
| 97 | phy_port1: port@9b2a000 { |
| 98 | st,osc-force-ext; |
| 99 | }; |
| 100 | }; |
Peter Griffin | 5f636b7 | 2015-04-30 15:30:00 +0200 | [diff] [blame] | 101 | |
| 102 | st_dwc3: dwc3@8f94000 { |
| 103 | status = "okay"; |
| 104 | }; |
Maxime Coquelin | 69e7c85 | 2015-10-01 17:48:19 +0200 | [diff] [blame] | 105 | |
| 106 | ethernet0: dwmac@9630000 { |
| 107 | st,tx-retime-src = "clkgen"; |
| 108 | status = "okay"; |
| 109 | phy-mode = "rgmii"; |
| 110 | fixed-link = <0 1 1000 0 0>; |
| 111 | }; |
Maxime COQUELIN | 3fba703 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 112 | }; |
| 113 | }; |