cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

exynos7885-jackpotlte.dts (1959B)


      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&oscclk {
     64	clock-frequency = <26000000>;
     65};
     66
     67&pinctrl_alive {
     68	key_volup: key-volup-pins {
     69		samsung,pins = "gpa1-5";
     70		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
     71		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
     72		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
     73	};
     74
     75	key_voldown: key-voldown-pins {
     76		samsung,pins = "gpa1-6";
     77		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
     78		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
     79		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
     80	};
     81
     82	key_power: key-power-pins {
     83		samsung,pins = "gpa1-7";
     84		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
     85		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
     86		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
     87	};
     88};
     89
     90&serial_2 {
     91	status = "okay";
     92};