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

sm6125-sony-xperia-seine-pdx201.dts (2374B)


      1// SPDX-License-Identifier: BSD-3-Clause
      2/*
      3 * Copyright (c) 2021, Martin Botka <martin.botka@somainline.org>
      4 */
      5
      6/dts-v1/;
      7
      8#include "sm6125.dtsi"
      9#include <dt-bindings/gpio/gpio.h>
     10#include <dt-bindings/input/input.h>
     11#include <dt-bindings/input/gpio-keys.h>
     12
     13/ {
     14	/* required for bootloader to select correct board */
     15	qcom,msm-id = <394 0x10000>; /* sm6125 v1 */
     16	qcom,board-id = <34 0>;
     17
     18	model = "Sony Xperia 10 II";
     19	compatible = "sony,pdx201", "qcom,sm6125";
     20	chassis-type = "handset";
     21
     22	chosen {
     23		#address-cells = <2>;
     24		#size-cells = <2>;
     25		ranges;
     26
     27		framebuffer0: framebuffer@5c000000 {
     28			compatible = "simple-framebuffer";
     29			reg = <0 0x5c000000 0 (2520 * 1080 * 4)>;
     30			width = <1080>;
     31			height = <2520>;
     32			stride = <(1080 * 4)>;
     33			format = "a8r8g8b8";
     34		};
     35	};
     36
     37	extcon_usb: extcon-usb {
     38		compatible = "linux,extcon-usb-gpio";
     39		id-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>;
     40	};
     41
     42	gpio-keys {
     43		status = "okay";
     44		compatible = "gpio-keys";
     45		#address-cells = <1>;
     46		#size-cells = <0>;
     47		autorepeat;
     48
     49		vol-dn {
     50			label = "Volume Down";
     51			gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
     52			linux,input-type = <1>;
     53			linux,code = <KEY_VOLUMEDOWN>;
     54			gpio-key,wakeup;
     55			debounce-interval = <15>;
     56		};
     57	};
     58
     59	reserved_memory {
     60		#address-cells = <2>;
     61		#size-cells = <2>;
     62		debug_mem: memory@ffb00000 {
     63			reg = <0x0 0xffb00000 0x0 0xc0000>;
     64			no-map;
     65		};
     66
     67		last_log_mem: memory@ffbc0000 {
     68			reg = <0x0 0xffbc0000 0x0 0x80000>;
     69			no-map;
     70		};
     71
     72		pstore_mem: ramoops@ffc00000 {
     73			compatible = "ramoops";
     74			reg = <0x0 0xffc40000 0x0 0xc0000>;
     75			record-size = <0x1000>;
     76			console-size = <0x40000>;
     77			msg-size = <0x20000 0x20000>;
     78		};
     79
     80		cmdline_mem: memory@ffd00000 {
     81			reg = <0x0 0xffd40000 0x0 0x1000>;
     82			no-map;
     83		};
     84	};
     85};
     86
     87&hsusb_phy1 {
     88	status = "okay";
     89};
     90
     91&sdc2_state_off {
     92	sd-cd {
     93		pins = "gpio98";
     94		bias-disable;
     95		drive-strength = <2>;
     96	};
     97};
     98
     99&sdhc_1 {
    100	status = "okay";
    101};
    102
    103&tlmm {
    104	gpio-reserved-ranges = <22 2>, <28 6>;
    105
    106	sdc2_state_on: sdc2-on {
    107		clk {
    108			pins = "sdc2_clk";
    109			bias-disable;
    110			drive-strength = <16>;
    111		};
    112
    113		cmd {
    114			pins = "sdc2_cmd";
    115			bias-pull-up;
    116			drive-strength = <10>;
    117		};
    118
    119		data {
    120			pins = "sdc2_data";
    121			bias-pull-up;
    122			drive-strength = <10>;
    123		};
    124
    125		sd-cd {
    126			pins = "gpio98";
    127			bias-pull-up;
    128			drive-strength = <2>;
    129		};
    130	};
    131};
    132
    133&usb3 {
    134	status = "okay";
    135};
    136
    137&usb3_dwc3 {
    138	extcon = <&extcon_usb>;
    139};