123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- // SPDX-License-Identifier: BSD-3-Clause
- /*
- * Copyright (c) 2021, Martin Botka <[email protected]>
- */
- /dts-v1/;
- #include "sm6125.dtsi"
- #include <dt-bindings/gpio/gpio.h>
- #include <dt-bindings/input/input.h>
- #include <dt-bindings/input/gpio-keys.h>
- / {
- /* required for bootloader to select correct board */
- qcom,msm-id = <394 0x10000>; /* sm6125 v1 */
- qcom,board-id = <34 0>;
- model = "Sony Xperia 10 II";
- compatible = "sony,pdx201", "qcom,sm6125";
- chassis-type = "handset";
- chosen {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
- framebuffer0: framebuffer@5c000000 {
- compatible = "simple-framebuffer";
- reg = <0 0x5c000000 0 (2520 * 1080 * 4)>;
- width = <1080>;
- height = <2520>;
- stride = <(1080 * 4)>;
- format = "a8r8g8b8";
- };
- };
- extcon_usb: extcon-usb {
- compatible = "linux,extcon-usb-gpio";
- id-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>;
- };
- gpio-keys {
- compatible = "gpio-keys";
- pinctrl-0 = <&vol_down_n>;
- pinctrl-names = "default";
- key-volume-down {
- label = "Volume Down";
- gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_VOLUMEDOWN>;
- debounce-interval = <15>;
- linux,can-disable;
- wakeup-source;
- };
- };
- reserved_memory {
- #address-cells = <2>;
- #size-cells = <2>;
- debug_mem: memory@ffb00000 {
- reg = <0x0 0xffb00000 0x0 0xc0000>;
- no-map;
- };
- last_log_mem: memory@ffbc0000 {
- reg = <0x0 0xffbc0000 0x0 0x80000>;
- no-map;
- };
- pstore_mem: ramoops@ffc00000 {
- compatible = "ramoops";
- reg = <0x0 0xffc40000 0x0 0xc0000>;
- record-size = <0x1000>;
- console-size = <0x40000>;
- pmsg-size = <0x20000>;
- };
- cmdline_mem: memory@ffd00000 {
- reg = <0x0 0xffd40000 0x0 0x1000>;
- no-map;
- };
- };
- };
- &hsusb_phy1 {
- status = "okay";
- };
- &sdc2_off_state {
- sd-cd-pins {
- pins = "gpio98";
- drive-strength = <2>;
- bias-disable;
- };
- };
- &sdc2_on_state {
- sd-cd-pins {
- pins = "gpio98";
- drive-strength = <2>;
- bias-pull-up;
- };
- };
- &sdhc_1 {
- status = "okay";
- };
- &tlmm {
- gpio-reserved-ranges = <22 2>, <28 6>;
- vol_down_n: vol-down-n-state {
- pins = "gpio47";
- function = "gpio";
- drive-strength = <2>;
- bias-disable;
- input-enable;
- };
- };
- &usb3 {
- status = "okay";
- };
- &usb3_dwc3 {
- extcon = <&extcon_usb>;
- };
|