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 mmc0 = &mmc_0; 22 serial0 = &serial_0; 23 serial1 = &serial_1; 24 serial2 = &serial_2; 25 }; 26 27 chosen { 28 stdout-path = &serial_2; 29 }; 30 31 memory@80000000 { 32 device_type = "memory"; 33 reg = <0x0 0x80000000 0x3da00000>, 34 <0x0 0xc0000000 0x40000000>, 35 <0x8 0x80000000 0x80000000>; 36 }; 37 38 gpio-keys { 39 compatible = "gpio-keys"; 40 pinctrl-names = "default"; 41 pinctrl-0 = <&key_volup &key_voldown &key_power>; 42 43 volup-key { 44 label = "Volume Up"; 45 linux,code = <KEY_VOLUMEUP>; 46 gpios = <&gpa1 5 GPIO_ACTIVE_LOW>; 47 }; 48 49 voldown-key { 50 label = "Volume Down"; 51 linux,code = <KEY_VOLUMEDOWN>; 52 gpios = <&gpa1 6 GPIO_ACTIVE_LOW>; 53 }; 54 55 power-key { 56 label = "Power"; 57 linux,code = <KEY_POWER>; 58 gpios = <&gpa1 7 GPIO_ACTIVE_LOW>; 59 wakeup-source; 60 }; 61 }; 62 }; 63 64 &mmc_0 { 65 status = "okay"; 66 mmc-hs200-1_8v; 67 mmc-hs400-1_8v; 68 cap-mmc-highspeed; 69 non-removable; 70 mmc-hs400-enhanced-strobe; 71 card-detect-delay = <200>; 72 clock-frequency = <800000000>; 73 bus-width = <8>; 74 samsung,dw-mshc-ciu-div = <3>; 75 samsung,dw-mshc-sdr-timing = <0 4>; 76 samsung,dw-mshc-ddr-timing = <2 4>; 77 samsung,dw-mshc-hs400-timing = <0 2>; 78 79 pinctrl-names = "default"; 80 pinctrl-0 = <&sd0_clk_fast_slew_rate_3x &sd0_cmd &sd0_rdqs 81 &sd0_bus1 &sd0_bus4 &sd0_bus8>; 82 }; 83 84 &oscclk { 85 clock-frequency = <26000000>; 86 }; 87 88 &pinctrl_alive { 89 key_volup: key-volup-pins { 90 samsung,pins = "gpa1-5"; 91 samsung,pin-function = <EXYNOS_PIN_FUNC_F>; 92 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 93 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 94 }; 95 96 key_voldown: key-voldown-pins { 97 samsung,pins = "gpa1-6"; 98 samsung,pin-function = <EXYNOS_PIN_FUNC_F>; 99 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 100 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 101 }; 102 103 key_power: key-power-pins { 104 samsung,pins = "gpa1-7"; 105 samsung,pin-function = <EXYNOS_PIN_FUNC_F>; 106 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 107 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 108 }; 109 }; 110 111 &serial_2 { 112 status = "okay"; 113 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.