File Index
Files and directories
Sign in
FILE

exynos990-x1s-common.dtsi

File preview with syntax highlighting.

linux-6.19.14/arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi DEVICETREE
  1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
  2/*
  3 * Samsung Galaxy S20 Series device tree source
  4 *
  5 * Copyright (c) 2024, Umer Uddin <umer.uddin@mentallysanemainliners.org>
  6 */
  7
  8/dts-v1/;
  9#include "exynos990.dtsi"
 10#include <dt-bindings/gpio/gpio.h>
 11#include <dt-bindings/input/input.h>
 12#include <dt-bindings/interrupt-controller/irq.h>
 13
 14/ {
 15	chosen {
 16		#address-cells = <2>;
 17		#size-cells = <2>;
 18		ranges;
 19
 20		framebuffer0: framebuffer@f1000000 {
 21			compatible = "simple-framebuffer";
 22			reg = <0 0xf1000000 0 (1440 * 3200 * 4)>;
 23			width = <1440>;
 24			height = <3200>;
 25			stride = <(1440 * 4)>;
 26			format = "a8r8g8b8";
 27		};
 28	};
 29
 30	/* TODO: Remove this once PMIC is implemented */
 31	reg_dummy: regulator-0 {
 32		compatible = "regulator-fixed";
 33		regulator-name = "dummy_reg";
 34	};
 35
 36	reserved-memory {
 37		#address-cells = <2>;
 38		#size-cells = <2>;
 39		ranges;
 40
 41		cont_splash_mem: framebuffer@f1000000 {
 42			reg = <0 0xf1000000 0 0x1194000>;
 43			no-map;
 44		};
 45
 46		abox_reserved: audio@f7fb0000 {
 47			reg = <0 0xf7fb0000 0 0x2a50000>;
 48			no-map;
 49		};
 50	};
 51
 52	gpio-keys {
 53		compatible = "gpio-keys";
 54
 55		pinctrl-0 = <&key_power &key_voldown &key_volup>;
 56		pinctrl-names = "default";
 57
 58		power-key {
 59			label = "Power";
 60			linux,code = <KEY_POWER>;
 61			gpios = <&gpa2 4 GPIO_ACTIVE_LOW>;
 62			wakeup-source;
 63		};
 64
 65		voldown-key {
 66			label = "Volume Down";
 67			linux,code = <KEY_VOLUMEDOWN>;
 68			gpios = <&gpa0 4 GPIO_ACTIVE_LOW>;
 69		};
 70
 71		volup-key {
 72			label = "Volume Up";
 73			linux,code = <KEY_VOLUMEUP>;
 74			gpios = <&gpa0 3 GPIO_ACTIVE_LOW>;
 75		};
 76	};
 77};
 78
 79&oscclk {
 80	clock-frequency = <26000000>;
 81};
 82
 83&pinctrl_alive {
 84	key_power: key-power-pins {
 85		samsung,pins = "gpa2-4";
 86		samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
 87		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
 88		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
 89	};
 90
 91	key_voldown: key-voldown-pins {
 92		samsung,pins = "gpa0-4";
 93		samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
 94		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
 95		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
 96	};
 97
 98	key_volup: key-volup-pins {
 99		samsung,pins = "gpa0-3";
100		samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
101		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
102		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
103	};
104};
105
106&usbdrd {
107	status = "okay";
108	vdd10-supply = <&reg_dummy>;
109	vdd33-supply = <&reg_dummy>;
110};
111
112&usbdrd_phy {
113	status = "okay";
114};
~/ Read-only file preview.