| 1 |
// SPDX-License-Identifier: GPL-2.0-only |
| 2 |
/* |
| 3 |
* Copyright (c) 2015, Huawei Inc. All rights reserved. |
| 4 |
* Copyright (c) 2016, The Linux Foundation. All rights reserved. |
| 5 |
* Copyright (c) 2021-2024, Petr Vorel <[email protected]> |
| 6 |
*/ |
| 7 |
|
| 8 |
/dts-v1/; |
| 9 |
|
| 10 |
#include "msm8994.dtsi" |
| 11 |
#include "pm8994.dtsi" |
| 12 |
|
| 13 |
/ { |
| 14 |
model = "Huawei Nexus 6P"; |
| 15 |
compatible = "huawei,angler", "qcom,msm8994"; |
| 16 |
chassis-type = "handset"; |
| 17 |
/* required for bootloader to select correct board */ |
| 18 |
qcom,msm-id = <207 0x20000>; |
| 19 |
qcom,pmic-id = <0x10009 0x1000a 0x0 0x0>; |
| 20 |
qcom,board-id = <8026 0>; |
| 21 |
|
| 22 |
aliases { |
| 23 |
serial0 = &blsp1_uart2; |
| 24 |
}; |
| 25 |
|
| 26 |
chosen { |
| 27 |
stdout-path = "serial0:115200n8"; |
| 28 |
}; |
| 29 |
|
| 30 |
reserved-memory { |
| 31 |
#address-cells = <2>; |
| 32 |
#size-cells = <2>; |
| 33 |
ranges; |
| 34 |
|
| 35 |
cont_splash_mem: memory@3401000 { |
| 36 |
reg = <0 0x03401000 0 0x1000000>; |
| 37 |
no-map; |
| 38 |
}; |
| 39 |
|
| 40 |
tzapp_mem: tzapp@4800000 { |
| 41 |
reg = <0 0x04800000 0 0x1900000>; |
| 42 |
no-map; |
| 43 |
}; |
| 44 |
|
| 45 |
reserved@6300000 { |
| 46 |
reg = <0 0x06300000 0 0x700000>; |
| 47 |
no-map; |
| 48 |
}; |
| 49 |
}; |
| 50 |
|
| 51 |
gpio-keys { |
| 52 |
compatible = "gpio-keys"; |
| 53 |
autorepeat; |
| 54 |
|
| 55 |
button-vol-up { |
| 56 |
label = "volume up"; |
| 57 |
gpios = <&pm8994_gpios 3 GPIO_ACTIVE_LOW>; |
| 58 |
linux,code = <KEY_VOLUMEUP>; |
| 59 |
wakeup-source; |
| 60 |
debounce-interval = <15>; |
| 61 |
}; |
| 62 |
}; |
| 63 |
}; |
| 64 |
|
| 65 |
&pm8994_resin { |
| 66 |
linux,code = <KEY_VOLUMEDOWN>; |
| 67 |
status = "okay"; |
| 68 |
}; |
| 69 |
|
| 70 |
&blsp1_uart2 { |
| 71 |
status = "okay"; |
| 72 |
pinctrl-names = "default", "sleep"; |
| 73 |
pinctrl-0 = <&blsp1_uart2_default>; |
| 74 |
pinctrl-1 = <&blsp1_uart2_sleep>; |
| 75 |
}; |
| 76 |
|
| 77 |
&tlmm { |
| 78 |
gpio-reserved-ranges = <85 4>; |
| 79 |
}; |
| 80 |
|
| 81 |
&sdhc1 { |
| 82 |
status = "okay"; |
| 83 |
mmc-hs400-1_8v; |
| 84 |
}; |