xref: /linux/arch/arm64/boot/dts/exynos/exynos7885-jackpotlte.dts (revision 5f8f8574c7f5585b09a9623f0f13462e4eb67b4d)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Samsung Galaxy A8 2018 (jackpotlte/SM-A530F) device tree source
4 *
5 * Copyright (c) 2021 Samsung Electronics Co., Ltd.
6 * Copyright (c) 2021 Dávid Virág
7 */
8
9/dts-v1/;
10#include "exynos7885.dtsi"
11#include <dt-bindings/gpio/gpio.h>
12#include <dt-bindings/input/input.h>
13#include <dt-bindings/interrupt-controller/irq.h>
14
15/ {
16	model = "Samsung Galaxy A8 (2018)";
17	compatible = "samsung,jackpotlte", "samsung,exynos7885";
18	chassis-type = "handset";
19
20	aliases {
21		serial0 = &serial_0;
22		serial1 = &serial_1;
23		serial2 = &serial_2;
24	};
25
26	chosen {
27		stdout-path = &serial_2;
28	};
29
30	memory@80000000 {
31		device_type = "memory";
32		reg = <0x0 0x80000000 0x3da00000>,
33		      <0x0 0xc0000000 0x40000000>,
34		      <0x8 0x80000000 0x40000000>;
35	};
36
37	gpio-keys {
38		compatible = "gpio-keys";
39		pinctrl-names = "default";
40		pinctrl-0 = <&key_volup &key_voldown &key_power>;
41
42		volup-key {
43			label = "Volume Up";
44			linux,code = <KEY_VOLUMEUP>;
45			gpios = <&gpa1 5 GPIO_ACTIVE_LOW>;
46		};
47
48		voldown-key {
49			label = "Volume Down";
50			linux,code = <KEY_VOLUMEDOWN>;
51			gpios = <&gpa1 6 GPIO_ACTIVE_LOW>;
52		};
53
54		power-key {
55			label = "Power";
56			linux,code = <KEY_POWER>;
57			gpios = <&gpa1 7 GPIO_ACTIVE_LOW>;
58			wakeup-source;
59		};
60	};
61};
62
63&mmc_0 {
64	status = "okay";
65	mmc-hs200-1_8v;
66	mmc-hs400-1_8v;
67	cap-mmc-highspeed;
68	non-removable;
69	mmc-hs400-enhanced-strobe;
70	card-detect-delay = <200>;
71	clock-frequency = <800000000>;
72	bus-width = <8>;
73	samsung,dw-mshc-ciu-div = <3>;
74	samsung,dw-mshc-sdr-timing = <0 4>;
75	samsung,dw-mshc-ddr-timing = <2 4>;
76	samsung,dw-mshc-hs400-timing = <0 2>;
77
78	pinctrl-names = "default";
79	pinctrl-0 = <&sd0_clk_fast_slew_rate_3x &sd0_cmd &sd0_rdqs
80		     &sd0_bus1 &sd0_bus4 &sd0_bus8>;
81};
82
83&oscclk {
84	clock-frequency = <26000000>;
85};
86
87&pinctrl_alive {
88	key_volup: key-volup-pins {
89		samsung,pins = "gpa1-5";
90		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
91		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
92		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
93	};
94
95	key_voldown: key-voldown-pins {
96		samsung,pins = "gpa1-6";
97		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
98		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
99		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
100	};
101
102	key_power: key-power-pins {
103		samsung,pins = "gpa1-7";
104		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
105		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
106		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
107	};
108};
109
110&serial_2 {
111	status = "okay";
112};
113