1 // SPDX-License-Identifier: GPL-2.0
3 * WinLink E850-96 board device tree source
5 * Copyright (C) 2018 Samsung Electronics Co., Ltd.
6 * Copyright (C) 2021 Linaro Ltd.
8 * Device tree source file for WinLink's E850-96 board which is based on
9 * Samsung Exynos850 SoC.
14 #include "exynos850.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/leds/common.h>
20 model = "WinLink E850-96 board";
21 compatible = "winlink,e850-96", "samsung,exynos850";
29 stdout-path = &serial_0;
34 * - 2 GiB at 0x80000000
35 * - 2 GiB at 0x880000000
37 * 0xbab00000..0xbfffffff: secure memory (85 MiB).
40 device_type = "memory";
41 reg = <0x0 0x80000000 0x3ab00000>,
42 <0x0 0xc0000000 0x40000000>,
43 <0x8 0x80000000 0x80000000>;
47 compatible = "gpio-keys";
48 pinctrl-names = "default";
49 pinctrl-0 = <&key_voldown_pins &key_volup_pins>;
52 label = "Volume Down";
53 linux,code = <KEY_VOLUMEDOWN>;
54 gpios = <&gpa1 0 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_VOLUMEUP>;
60 gpios = <&gpa0 7 GPIO_ACTIVE_LOW>;
65 compatible = "gpio-leds";
69 label = "yellow:user1";
70 gpios = <&gpg2 2 GPIO_ACTIVE_HIGH>;
71 color = <LED_COLOR_ID_YELLOW>;
72 function = LED_FUNCTION_HEARTBEAT;
73 linux,default-trigger = "heartbeat";
78 label = "yellow:user2";
79 gpios = <&gpg2 3 GPIO_ACTIVE_HIGH>;
80 color = <LED_COLOR_ID_YELLOW>;
81 linux,default-trigger = "mmc0";
86 label = "white:user3";
87 gpios = <&gpg2 4 GPIO_ACTIVE_HIGH>;
88 color = <LED_COLOR_ID_WHITE>;
89 function = LED_FUNCTION_SD;
90 linux,default-trigger = "mmc2";
94 wlan_active_led: led-4 {
95 label = "yellow:wlan";
96 gpios = <&gpg2 6 GPIO_ACTIVE_HIGH>;
97 color = <LED_COLOR_ID_YELLOW>;
98 function = LED_FUNCTION_WLAN;
99 linux,default-trigger = "phy0tx";
100 default-state = "off";
104 bt_active_led: led-5 {
106 gpios = <&gpg2 7 GPIO_ACTIVE_HIGH>;
107 color = <LED_COLOR_ID_BLUE>;
108 function = LED_FUNCTION_BLUETOOTH;
109 linux,default-trigger = "hci0rx";
110 default-state = "off";
115 * RTC clock (XrtcXTI); external, must be 32.768 kHz.
117 * TODO: Remove this once RTC clock is implemented properly as part of
120 rtcclk: clock-rtcclk {
121 compatible = "fixed-clock";
122 clock-output-names = "rtcclk";
124 clock-frequency = <32768>;
129 clocks = <&oscclk>, <&rtcclk>,
130 <&cmu_top CLK_DOUT_HSI_BUS>,
131 <&cmu_top CLK_DOUT_HSI_MMC_CARD>,
132 <&cmu_top CLK_DOUT_HSI_USB20DRD>;
133 clock-names = "oscclk", "rtcclk", "dout_hsi_bus",
134 "dout_hsi_mmc_card", "dout_hsi_usb20drd";
143 mmc-hs400-enhanced-strobe;
144 card-detect-delay = <200>;
145 clock-frequency = <800000000>;
147 samsung,dw-mshc-ciu-div = <3>;
148 samsung,dw-mshc-sdr-timing = <0 4>;
149 samsung,dw-mshc-ddr-timing = <2 4>;
150 samsung,dw-mshc-hs400-timing = <0 2>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&sd0_clk_pins &sd0_cmd_pins &sd0_rdqs_pins &sd0_nreset_pins
154 &sd0_bus1_pins &sd0_bus4_pins &sd0_bus8_pins>;
158 clock-frequency = <26000000>;
162 key_voldown_pins: key-voldown-pins {
163 samsung,pins = "gpa1-0";
164 samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
165 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
166 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
169 key_volup_pins: key-volup-pins {
170 samsung,pins = "gpa0-7";
171 samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
172 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
173 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
179 clocks = <&cmu_apm CLK_GOUT_RTC_PCLK>, <&rtcclk>;
180 clock-names = "rtc", "rtc_src";
185 pinctrl-names = "default";
186 pinctrl-0 = <&uart1_pins>;
190 samsung,clkreq-on; /* needed for UART mode */