Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- david@RosettaStoned:~/Android/cyanogenmod/device/oneplus/oneplus2$ git diff grarak/cm-14.0 seraph/cm-14.0
- diff --git a/BoardConfig.mk b/BoardConfig.mk
- index cd6441c..7e4569f 100644
- --- a/BoardConfig.mk
- +++ b/BoardConfig.mk
- @@ -45,7 +45,7 @@ TARGET_ARCH := arm64
- TARGET_ARCH_VARIANT := armv8-a
- TARGET_CPU_ABI := arm64-v8a
- TARGET_CPU_ABI2 :=
- -TARGET_CPU_VARIANT := generic
- +TARGET_CPU_VARIANT := cortex-a53
- TARGET_2ND_ARCH := arm
- TARGET_2ND_ARCH_VARIANT := armv7-a-neon
- @@ -53,8 +53,13 @@ TARGET_2ND_CPU_ABI := armeabi-v7a
- TARGET_2ND_CPU_ABI2 := armeabi
- TARGET_2ND_CPU_VARIANT := cortex-a53.a57
- +TARGET_CPU_CORTEX_A53 := true
- +
- +TARGET_BOARD_SUFFIX := _64
- TARGET_USES_64_BIT_BINDER := true
- +BOARD_GLOBAL_CFLAGS += -DUSE_RIL_VERSION_11 -DCOMPAT_SENSORS_M
- +
- # Kernel
- BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 boot_cpus=0-3 androidboot.selinux=permissive
- BOARD_KERNEL_BASE := 0x00000000
- @@ -116,6 +121,9 @@ BOARD_USES_QCNE := true
- # Cpusets
- ENABLE_CPUSETS := true
- +# Crypto
- +TARGET_HW_DISK_ENCRYPTION := true
- +
- # GPS
- TARGET_NO_RPC := true
- USE_DEVICE_SPECIFIC_GPS := true
- @@ -139,6 +147,7 @@ TARGET_SPECIFIC_HEADER_PATH := $(PLATFORM_PATH)/include
- # Init
- TARGET_INIT_VENDOR_LIB := libinit_oneplus2
- TARGET_PLATFORM_DEVICE_BASE := /devices/soc.0/
- +TARGET_LIBINIT_DEFINES_FILE := $(PLATFORM_PATH)/init/init_oneplus2.cpp
- # Keystore
- TARGET_PROVIDES_KEYMASTER := true
- @@ -148,6 +157,7 @@ TARGET_PROVIDES_LIBLIGHT := true
- # RIL
- TARGET_RIL_VARIANT := caf
- +BOARD_GLOBAL_CFLAGS += -DUSE_RIL_VERSION_11
- # RPC
- TARGET_NO_RPC := true
- @@ -155,6 +165,7 @@ TARGET_NO_RPC := true
- # Sensors
- USE_SENSOR_MULTI_HAL := true
- BOARD_GLOBAL_CFLAGS += -DCOMPAT_SENSORS_M
- +TARGET_PREFERS_AOSP_ROTATION_SENSOR := true
- # Enable dexpreopt to speed boot time
- ifeq ($(HOST_OS),linux)
- diff --git a/README.md b/README.md
- new file mode 100644
- index 0000000..3a63e6f
- --- /dev/null
- +++ b/README.md
- @@ -0,0 +1,21 @@
- +Copyright 2015 - The CyanogenMod Project
- +
- +Device configuration for OnePlus Two.
- +=====================================
- +
- +Basic | Spec Sheet
- +-------:|:-------------------------
- +CPU | Quad-core 1.8 GHz ARM® Cortex™ A57 and quad-core 1.5 GHz ARM® Cortex™ A53
- +CHIPSET | Qualcomm MSM8994 Snapdragon 810
- +GPU | Adreno 430
- +Memory | 3/4 GB
- +Shipped Android Version | 5.1.1
- +Storage | 16/64 GB
- +Battery | 3300 mAh (non-removable)
- +Dimensions | 151.8 x 74.9 x 9.85 mm
- +Display | 1.920 x 1.080
- +Rear Camera | 13 MP, dual-LED flash
- +Front Camera | 5 MP
- +Release Date | July 2015
- +
- +![OnePlus Two](http://cdn2.gsmarena.com/vv/pics/oneplus/oneplus-two-1.jpg "OnePlus Two")
- diff --git a/audio/acdb/MTP_Bluetooth_cal.acdb b/audio/acdb/MTP_Bluetooth_cal.acdb
- new file mode 100644
- index 0000000..a97a161
- Binary files /dev/null and b/audio/acdb/MTP_Bluetooth_cal.acdb differ
- diff --git a/audio/acdb/MTP_General_cal.acdb b/audio/acdb/MTP_General_cal.acdb
- new file mode 100644
- index 0000000..a9077af
- Binary files /dev/null and b/audio/acdb/MTP_General_cal.acdb differ
- diff --git a/audio/acdb/MTP_Global_cal.acdb b/audio/acdb/MTP_Global_cal.acdb
- new file mode 100644
- index 0000000..cdf5719
- Binary files /dev/null and b/audio/acdb/MTP_Global_cal.acdb differ
- diff --git a/audio/acdb/MTP_Handset_cal.acdb b/audio/acdb/MTP_Handset_cal.acdb
- new file mode 100644
- index 0000000..69518bb
- Binary files /dev/null and b/audio/acdb/MTP_Handset_cal.acdb differ
- diff --git a/audio/acdb/MTP_Hdmi_cal.acdb b/audio/acdb/MTP_Hdmi_cal.acdb
- new file mode 100644
- index 0000000..655a4b4
- Binary files /dev/null and b/audio/acdb/MTP_Hdmi_cal.acdb differ
- diff --git a/audio/acdb/MTP_Headset_cal.acdb b/audio/acdb/MTP_Headset_cal.acdb
- new file mode 100644
- index 0000000..68ed6fb
- Binary files /dev/null and b/audio/acdb/MTP_Headset_cal.acdb differ
- diff --git a/audio/acdb/MTP_Speaker_cal.acdb b/audio/acdb/MTP_Speaker_cal.acdb
- new file mode 100644
- index 0000000..a8ac726
- Binary files /dev/null and b/audio/acdb/MTP_Speaker_cal.acdb differ
- diff --git a/audio/audio_policy.conf b/audio/audio_policy.conf
- index bff56cc..1fa881e 100644
- --- a/audio/audio_policy.conf
- +++ b/audio/audio_policy.conf
- @@ -67,9 +67,21 @@ audio_hw_modules {
- #ifndef VENDOR_EDIT
- #lifei@OnePlus.MultiMediaService, 2015/12/23,add MP2 offload playback
- #formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2
- -#else
- +
- + #else
- +
- + formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_MP2
- +
- + formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_MP2|AUDIO_FORMAT_AAC
- +
- formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_MP2|AUDIO_FORMAT_AAC
- +
- + #endif/*VENDOR_EDIT*/
- +
- +#else
- + formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_MP2
- #endif/*VENDOR_EDIT*/
- +
- devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
- flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
- }
- diff --git a/camera/Android.mk b/camera/Android.mk
- index adbcc66..4206dab 100755
- --- a/camera/Android.mk
- +++ b/camera/Android.mk
- @@ -42,21 +42,4 @@ LOCAL_PRELINK_MODULE := false
- include $(BUILD_SHARED_LIBRARY)
- -include $(CLEAR_VARS)
- -
- -LOCAL_C_INCLUDES := \
- - system/media/camera/include
- -
- -LOCAL_SRC_FILES := \
- - CameraWrapper.cpp
- -
- -LOCAL_SHARED_LIBRARIES := \
- - libhardware liblog libgui libutils
- -
- -LOCAL_MODULE_RELATIVE_PATH := hw
- -LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM)
- -LOCAL_MODULE_TAGS := optional
- -
- -include $(BUILD_SHARED_LIBRARY)
- -
- endif # !TARGET_SIMULATOR
- diff --git a/camera/CameraWrapper.cpp b/camera/CameraWrapper.cpp
- deleted file mode 100644
- index 17c4fdc..0000000
- --- a/camera/CameraWrapper.cpp
- +++ /dev/null
- @@ -1,158 +0,0 @@
- -/* Copyright (C) 2016, The CyanogenMod Project
- - *
- - * Licensed under the Apache License, Version 2.0 (the "License");
- - * you may not use this file except in compliance with the License.
- - * You may obtain a copy of the License at
- - *
- - * http://www.apache.org/licenses/LICENSE-2.0
- - *
- - * Unless required by applicable law or agreed to in writing, software
- - * distributed under the License is distributed on an "AS IS" BASIS,
- - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- - * See the License for the specific language governing permissions and
- - * limitations under the License.
- - */
- -
- -/**
- -* @file CameraWrapper.cpp
- -*
- -* This file wraps a vendor camera module.
- -*
- -*/
- -
- -//#define LOG_NDEBUG 0
- -
- -#define LOG_TAG "CameraWrapper"
- -#include <cutils/log.h>
- -
- -#include <dlfcn.h>
- -#include <hardware/hardware.h>
- -#include <hardware/camera.h>
- -#include <utils/threads.h>
- -#include <gui/SensorManager.h>
- -
- -static android::Mutex gCameraWrapperLock;
- -static camera_module_t *gVendorModule = 0;
- -
- -static int camera_device_open(const hw_module_t *module, const char *name,
- - hw_device_t **device);
- -static int camera_get_number_of_cameras(void);
- -static int camera_get_camera_info(int camera_id, struct camera_info *info);
- -
- -static struct hw_module_methods_t camera_module_methods = {
- - .open = camera_device_open
- -};
- -
- -camera_module_t HAL_MODULE_INFO_SYM = {
- - .common = {
- - .tag = HARDWARE_MODULE_TAG,
- - .module_api_version = CAMERA_MODULE_API_VERSION_1_0,
- - .hal_api_version = HARDWARE_HAL_API_VERSION,
- - .id = CAMERA_HARDWARE_MODULE_ID,
- - .name = "OnePlus 2 Camera Wrapper",
- - .author = "The CyanogenMod Project",
- - .methods = &camera_module_methods,
- - .dso = NULL, /* remove compilation warnings */
- - .reserved = {0}, /* remove compilation warnings */
- - },
- - .get_number_of_cameras = camera_get_number_of_cameras,
- - .get_camera_info = camera_get_camera_info,
- - .set_callbacks = NULL, /* remove compilation warnings */
- - .get_vendor_tag_ops = NULL, /* remove compilation warnings */
- - .open_legacy = NULL, /* remove compilation warnings */
- - .set_torch_mode = NULL, /* remove compilation warnings */
- - .init = NULL, /* remove compilation warnings */
- - .reserved = {0}, /* remove compilation warnings */
- -};
- -
- -static int load(const char *path,
- - const struct hw_module_t **pHmi)
- -{
- - int status = 0;
- - void *handle = NULL;
- - struct hw_module_t *hmi = NULL;
- -
- - handle = dlopen(path, RTLD_NOW);
- - if (handle == NULL) {
- - status = -EINVAL;
- - goto done;
- - }
- -
- - hmi = (struct hw_module_t *)dlsym(handle,
- - HAL_MODULE_INFO_SYM_AS_STR);
- - if (hmi == NULL) {
- - status = -EINVAL;
- - goto done;
- - }
- -
- - hmi->dso = handle;
- -
- - done:
- - *pHmi = hmi;
- -
- - return status;
- -}
- -
- -static int check_vendor_module()
- -{
- - int rv = 0;
- - ALOGV("%s", __FUNCTION__);
- -
- - if (gVendorModule)
- - return 0;
- -
- - rv = load("/system/lib/hw/camera.vendor.msm8994.so",
- - (const hw_module_t**)&gVendorModule);
- - if (rv)
- - ALOGE("failed to open vendor camera module");
- - return rv;
- -}
- -
- -static int camera_device_open(const hw_module_t *module __unused, const char *name,
- - hw_device_t **device)
- -{
- - int rv = 0;
- - int num_cameras = 0;
- - int cameraid;
- - int cameraretry;
- -
- - android::Mutex::Autolock lock(gCameraWrapperLock);
- -
- - ALOGV("%s", __FUNCTION__);
- -
- - if (name == NULL || check_vendor_module() != android::NO_ERROR) {
- - return -EINVAL;
- - }
- -
- - for (cameraretry = 0; cameraretry < 2; cameraretry++) {
- - rv = gVendorModule->common.methods->open(
- - (const hw_module_t*)gVendorModule, name,
- - device);
- - if (!rv)
- - break;
- -
- - ALOGV("%s: open failed - retrying attempt %d",__FUNCTION__, cameraretry);
- - }
- -
- - if (rv)
- - ALOGE("vendor camera open fail");
- -
- - return rv;
- -}
- -
- -static int camera_get_number_of_cameras(void)
- -{
- - ALOGV("%s", __FUNCTION__);
- - if (check_vendor_module())
- - return 0;
- - return gVendorModule->get_number_of_cameras();
- -}
- -
- -static int camera_get_camera_info(int camera_id, struct camera_info *info)
- -{
- - ALOGV("%s", __FUNCTION__);
- - if (check_vendor_module())
- - return 0;
- -
- - return gVendorModule->get_camera_info(camera_id, info);
- -}
- diff --git a/cm.dependencies b/cm.dependencies
- index e5d96c5..feb45ca 100644
- --- a/cm.dependencies
- +++ b/cm.dependencies
- @@ -1,10 +1,26 @@
- [
- + {
- + "remote": "github",
- + "repository": "CyanogenMod/android_device_qcom_common",
- + "target_path": "device/qcom/common",
- + "revision": "cm-14.0"
- + },
- + {
- + "remote": "github",
- + "repository": "Seraph08/android_kernel_oneplus_msm8994",
- + "target_path": "kernel/oneplus/msm8994",
- + "revision": "cm-14.0"
- + },
- {
- - "repository": "android_device_oppo_common",
- - "target_path": "device/oppo/common"
- + "remote": "github",
- + "repository": "Seraph08/android_device_oppo_common",
- + "target_path": "device/oppo/common",
- + "revision": "cm-14.0"
- },
- {
- - "repository": "android_kernel_oneplus_msm8994",
- - "target_path": "kernel/oneplus/msm8994"
- + "remote": "github",
- + "repository": "Seraph08/proprietary_vendor_oneplus",
- + "target_path": "vendor/oneplus",
- + "revision": "cm-14.0"
- }
- ]
- diff --git a/cm.mk b/cm.mk
- index c1d494c..b7a7866 100644
- --- a/cm.mk
- +++ b/cm.mk
- @@ -28,15 +28,3 @@ PRODUCT_MANUFACTURER := OnePlus
- PRODUCT_BRAND := OnePlus
- PRODUCT_GMS_CLIENTID_BASE := android-oneplus
- -
- -TARGET_VENDOR_PRODUCT_NAME := OnePlus2
- -TARGET_VENDOR_DEVICE_NAME := OnePlus2
- -PRODUCT_BUILD_PROP_OVERRIDES += TARGET_DEVICE=OnePlus2 PRODUCT_NAME=OnePlus2
- -
- -PRODUCT_BUILD_PROP_OVERRIDES += \
- - BUILD_FINGERPRINT=OnePlus/OnePlus2/OnePlus2:6.0.1/MMB29M/1447840920:user/release-keys \
- - PRIVATE_BUILD_DESC="OnePlus2-user 6.0.1 MMB29M 20 dev-keys"
- -
- -PRODUCT_SYSTEM_PROPERTY_BLACKLIST += ro.product.model
- -
- -TARGET_VENDOR := oneplus
- diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml
- index 3260c4a..1614f71 100644
- --- a/configs/media_codecs.xml
- +++ b/configs/media_codecs.xml
- @@ -326,7 +326,8 @@ Only the three quirks included above are recognized at this point:
- <Feature name="secure-playback" required="true" />
- <Limit name="concurrent-instances" max="6" />
- </MediaCodec>
- + <!-- Audio Software -->
- + <MediaCodec name="OMX.qti.audio.decoder.flac" type="audio/flac" />
- </Decoders>
- <Include href="media_codecs_google_video.xml" />
- - <Include href="media_codecs_ffmpeg.xml" />
- </MediaCodecs>
- diff --git a/configs/media_profiles.xml b/configs/media_profiles.xml
- index 8f71789..0183023 100644
- --- a/configs/media_profiles.xml
- +++ b/configs/media_profiles.xml
- @@ -373,61 +373,6 @@
- channels="2" />
- </EncoderProfile>
- - <!-- CAMCORDER_QUALITY_HIGH_SPEED_LOW/720P : 720p@120fps; 27.0 Mbps -->
- - <EncoderProfile quality="highspeedlow" fileFormat="mp4" duration="30">
- - <Video codec="h264"
- - bitRate="27000000"
- - width="1280"
- - height="720"
- - frameRate="120" />
- - <!-- audio setting is ignored -->
- - <Audio codec="aac"
- - bitRate="96000"
- - sampleRate="48000"
- - channels="2" />
- - </EncoderProfile>
- -
- - <!-- CAMCORDER_QUALITY_HIGH_SPEED_HIGH/720P : 720p@120fps; 27.0 Mbps -->
- - <EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="30">
- - <Video codec="h264"
- - bitRate="27000000"
- - width="1280"
- - height="720"
- - frameRate="120" />
- - <!-- audio setting is ignored -->
- - <Audio codec="aac"
- - bitRate="96000"
- - sampleRate="48000"
- - channels="2" />
- - </EncoderProfile>
- -
- - <EncoderProfile quality="highspeed720p" fileFormat="mp4" duration="30">
- - <Video codec="h264"
- - bitRate="27000000"
- - width="1280"
- - height="720"
- - frameRate="120" />
- - <!-- audio setting is ignored -->
- - <Audio codec="aac"
- - bitRate="96000"
- - sampleRate="48000"
- - channels="2" />
- - </EncoderProfile>
- -
- - <!-- CAMCORDER_QUALITY_HIGH_SPEED_HIGH/1080P : 1080p@60fps; 34.0 Mbps -->
- - <EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="30">
- - <Video codec="h264"
- - bitRate="34000000"
- - width="1920"
- - height="1080"
- - frameRate="60" />
- - <!-- audio setting is ignored -->
- - <Audio codec="aac"
- - bitRate="96000"
- - sampleRate="48000"
- - channels="2" />
- - </EncoderProfile>
- -
- <ImageEncoding quality="95" />
- <ImageEncoding quality="80" />
- <ImageEncoding quality="70" />
- diff --git a/data-ipa-cfg-mgr/Android.mk b/data-ipa-cfg-mgr/Android.mk
- deleted file mode 100644
- index 39de891..0000000
- --- a/data-ipa-cfg-mgr/Android.mk
- +++ /dev/null
- @@ -1,18 +0,0 @@
- -#
- -# Copyright (C) 2015 The CyanogenMod Project
- -#
- -# Licensed under the Apache License, Version 2.0 (the "License");
- -# you may not use this file except in compliance with the License.
- -# You may obtain a copy of the License at
- -#
- -# http://www.apache.org/licenses/LICENSE-2.0
- -#
- -# Unless required by applicable law or agreed to in writing, software
- -# distributed under the License is distributed on an "AS IS" BASIS,
- -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- -# See the License for the specific language governing permissions and
- -# limitations under the License.
- -
- -LOCAL_PATH := $(call my-dir)
- -
- -include $(call first-makefiles-under,$(LOCAL_PATH))
- diff --git a/data-ipa-cfg-mgr/ipacm/src/Android.mk b/data-ipa-cfg-mgr/ipacm/src/Android.mk
- index 6720a17..dbecf66 100644
- --- a/data-ipa-cfg-mgr/ipacm/src/Android.mk
- +++ b/data-ipa-cfg-mgr/ipacm/src/Android.mk
- @@ -1,3 +1,5 @@
- +ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM)))
- +ifneq (, $(filter aarch64 arm arm64, $(TARGET_ARCH)))
- LOCAL_PATH := $(call my-dir)
- include $(CLEAR_VARS)
- @@ -10,6 +12,7 @@ LOCAL_C_INCLUDES += external/icu/icu4c/source/common
- else
- LOCAL_C_INCLUDES += external/icu4c/common
- endif
- +LOCAL_C_INCLUDES += external/dhcpcd
- LOCAL_C_INCLUDES += external/libxml2/include
- LOCAL_C_INCLUDES += external/libnetfilter_conntrack/include
- LOCAL_C_INCLUDES += external/libnfnetlink/include
- @@ -54,7 +57,8 @@ LOCAL_SHARED_LIBRARIES := libipanat
- LOCAL_SHARED_LIBRARIES += libxml2
- LOCAL_SHARED_LIBRARIES += libnfnetlink
- LOCAL_SHARED_LIBRARIES += libnetfilter_conntrack
- -include $(BUILD_EXECUTABLE)
- +LOCAL_SHARED_LIBRARIES += libdhcpcd
- +#include $(BUILD_EXECUTABLE)
- ################################################################################
- @@ -77,4 +81,7 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)
- LOCAL_MODULE_TAGS := optional
- LOCAL_SRC_FILES := $(LOCAL_MODULE)
- LOCAL_MODULE_OWNER := ipacm
- -include $(BUILD_PREBUILT)
- +#include $(BUILD_PREBUILT)
- +
- +endif # $(TARGET_ARCH)
- +endif
- diff --git a/data-ipa-cfg-mgr/ipacm/src/IPACM_Lan.cpp b/data-ipa-cfg-mgr/ipacm/src/IPACM_Lan.cpp
- index 4b36c42..67ba5f5 100644
- --- a/data-ipa-cfg-mgr/ipacm/src/IPACM_Lan.cpp
- +++ b/data-ipa-cfg-mgr/ipacm/src/IPACM_Lan.cpp
- @@ -5436,11 +5436,11 @@ eth_bridge_client_rt_info* IPACM_Lan::eth_bridge_get_client_rt_info_ptr(uint8_t
- void* result;
- if(iptype == IPA_IP_v4)
- {
- - result = (void*)((char*)eth_bridge_usb_client_rt_info_v4 + index * client_rt_info_size_v4);
- + result = (void*)((void*)eth_bridge_usb_client_rt_info_v4 + index * client_rt_info_size_v4);
- }
- else
- {
- - result = (void*)((char*)eth_bridge_usb_client_rt_info_v6 + index * client_rt_info_size_v6);
- + result = (void*)((void*)eth_bridge_usb_client_rt_info_v6 + index * client_rt_info_size_v6);
- }
- return (eth_bridge_client_rt_info*)result;
- }
- diff --git a/data-ipa-cfg-mgr/ipacm/src/IPACM_Wan.cpp b/data-ipa-cfg-mgr/ipacm/src/IPACM_Wan.cpp
- index f7e6c38..b21a763 100644
- --- a/data-ipa-cfg-mgr/ipacm/src/IPACM_Wan.cpp
- +++ b/data-ipa-cfg-mgr/ipacm/src/IPACM_Wan.cpp
- @@ -1024,7 +1024,7 @@ int IPACM_Wan::handle_route_add_evt(ipa_ip_type iptype)
- break;
- }
- - //if(tx_prop->tx[cnt].hdr_name != NULL)
- + if(tx_prop->tx[cnt].hdr_name != NULL)
- {
- memset(&sCopyHeader, 0, sizeof(sCopyHeader));
- memcpy(sCopyHeader.name,
- @@ -1104,7 +1104,7 @@ int IPACM_Wan::handle_route_add_evt(ipa_ip_type iptype)
- strcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_v6.name);
- }
- - //if (tx_prop->tx[tx_index].hdr_name != NULL)
- + if (tx_prop->tx[tx_index].hdr_name != NULL)
- {
- IPACMDBG_H(" TX- header hdl %s \n", tx_prop->tx[tx_index].hdr_name);
- memset(&sRetHeader, 0, sizeof(sRetHeader));
- @@ -1686,7 +1686,7 @@ int IPACM_Wan::config_dft_firewall_rules(ipa_ip_type iptype)
- memset(&firewall_config, 0, sizeof(firewall_config));
- strncpy(firewall_config.firewall_config_file, "/etc/mobileap_firewall.xml", sizeof(firewall_config.firewall_config_file));
- - //if (firewall_config.firewall_config_file)
- + if (firewall_config.firewall_config_file)
- {
- IPACMDBG_H("Firewall XML file is %s \n", firewall_config.firewall_config_file);
- if (IPACM_SUCCESS == IPACM_read_firewall_xml(firewall_config.firewall_config_file, &firewall_config))
- @@ -1711,11 +1711,11 @@ int IPACM_Wan::config_dft_firewall_rules(ipa_ip_type iptype)
- IPACMERR("QCMAP Firewall XML read failed, no that file, use default configuration \n");
- }
- }
- - /*else
- + else
- {
- IPACMERR("No firewall xml mentioned \n");
- return IPACM_FAILURE;
- - }*/
- + }
- /* construct ipa_ioc_add_flt_rule with N firewall rules */
- ipa_ioc_add_flt_rule *m_pFilteringTable = NULL;
- @@ -2348,7 +2348,7 @@ int IPACM_Wan::config_dft_firewall_rules_ex(struct ipa_flt_rule_add *rules, int
- memset(&firewall_config, 0, sizeof(firewall_config));
- strncpy(firewall_config.firewall_config_file, "/etc/mobileap_firewall.xml", sizeof(firewall_config.firewall_config_file));
- - //if (firewall_config.firewall_config_file)
- + if (firewall_config.firewall_config_file)
- {
- IPACMDBG_H("Firewall XML file is %s \n", firewall_config.firewall_config_file);
- if (IPACM_SUCCESS == IPACM_read_firewall_xml(firewall_config.firewall_config_file, &firewall_config))
- @@ -2360,11 +2360,11 @@ int IPACM_Wan::config_dft_firewall_rules_ex(struct ipa_flt_rule_add *rules, int
- IPACMERR("QCMAP Firewall XML read failed, no that file, use default configuration \n");
- }
- }
- - /*else
- - //{
- + else
- + {
- IPACMERR("No firewall xml mentioned \n");
- return IPACM_FAILURE;
- - }*/
- + }
- /* add IPv6 frag rule when firewall is enabled*/
- if(iptype == IPA_IP_v6 && firewall_config.firewall_enable == true)
- diff --git a/data-ipa-cfg-mgr/ipacm/src/IPACM_Wlan.cpp b/data-ipa-cfg-mgr/ipacm/src/IPACM_Wlan.cpp
- index 3f2d1a2..cbcc797 100644
- --- a/data-ipa-cfg-mgr/ipacm/src/IPACM_Wlan.cpp
- +++ b/data-ipa-cfg-mgr/ipacm/src/IPACM_Wlan.cpp
- @@ -4697,22 +4697,22 @@ eth_bridge_client_rt_info* IPACM_Wlan::eth_bridge_get_client_rt_info_ptr(uint8_t
- {
- if(iptype == IPA_IP_v4)
- {
- - result = (void*)((char*)eth_bridge_wlan_client_rt_from_wlan_info_v4 + index * client_rt_info_size_v4);
- + result = (void*)((void*)eth_bridge_wlan_client_rt_from_wlan_info_v4 + index * client_rt_info_size_v4);
- }
- else
- {
- - result = (void*)((char*)eth_bridge_wlan_client_rt_from_wlan_info_v6 + index * client_rt_info_size_v6);
- + result = (void*)((void*)eth_bridge_wlan_client_rt_from_wlan_info_v6 + index * client_rt_info_size_v6);
- }
- }
- else
- {
- if(iptype == IPA_IP_v4)
- {
- - result = (void*)((char*)eth_bridge_wlan_client_rt_from_usb_info_v4 + index * client_rt_info_size_v4);
- + result = (void*)((void*)eth_bridge_wlan_client_rt_from_usb_info_v4 + index * client_rt_info_size_v4);
- }
- else
- {
- - result = (void*)((char*)eth_bridge_wlan_client_rt_from_usb_info_v6 + index * client_rt_info_size_v6);
- + result = (void*)((void*)eth_bridge_wlan_client_rt_from_usb_info_v6 + index * client_rt_info_size_v6);
- }
- }
- return (eth_bridge_client_rt_info*)result;
- diff --git a/data-ipa-cfg-mgr/ipanat/src/Android.mk b/data-ipa-cfg-mgr/ipanat/src/Android.mk
- index ecc64c4..a97b6ce 100644
- --- a/data-ipa-cfg-mgr/ipanat/src/Android.mk
- +++ b/data-ipa-cfg-mgr/ipanat/src/Android.mk
- @@ -1,3 +1,6 @@
- +ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM)))
- +ifneq (, $(filter aarch64 arm arm64, $(TARGET_ARCH)))
- +
- LOCAL_PATH := $(call my-dir)
- include $(CLEAR_VARS)
- @@ -16,3 +19,6 @@ LOCAL_MODULE_TAGS := optional
- LOCAL_PRELINK_MODULE := false
- include $(BUILD_SHARED_LIBRARY)
- +
- +endif # $(TARGET_ARCH)
- +endif
- diff --git a/device.mk b/device.mk
- index b70414f..3c3606e 100644
- --- a/device.mk
- +++ b/device.mk
- @@ -101,7 +101,6 @@ PRODUCT_PACKAGES += \
- # Camera
- PRODUCT_PACKAGES += \
- - camera.msm8994 \
- sensors.hal.tof \
- Snap
- @@ -238,6 +237,7 @@ PRODUCT_PACKAGES += \
- librmnetctl \
- libxml2
- +# Telephony-ext
- PRODUCT_PACKAGES += telephony-ext
- PRODUCT_BOOT_JARS += telephony-ext
- diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
- index b2d2395..3516b55 100644
- --- a/overlay/frameworks/base/core/res/res/values/config.xml
- +++ b/overlay/frameworks/base/core/res/res/values/config.xml
- @@ -126,6 +126,7 @@
- 64 - Volume rocker
- For example, a device with Home, Back and Menu keys would set this
- config to 7. -->
- + <add-resource type="integer" name="config_deviceHardwareKeys"></add-resource>
- <integer name="config_deviceHardwareKeys">83</integer>
- <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
- @@ -139,8 +140,8 @@
- 32 - Camera
- 64 - Volume rocker
- For example, a device with Home, Back and Menu keys would set this
- - config to 7. -->
- - <integer name="config_deviceHardwareWakeKeys">64</integer>
- + config to 7.
- + <integer name="config_deviceHardwareWakeKeys">64</integer> -->
- <!-- Control the behavior when the user long presses the home button
- 0 - Nothing
- @@ -152,6 +153,7 @@
- This needs to match the constants in
- policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
- -->
- + <add-resource type="integer" name="config_longPressOnHomeBehavior"></add-resource>
- <integer name="config_longPressOnHomeBehavior">3</integer>
- <!-- Control the behavior when the user long presses the app switch button.
- @@ -164,6 +166,7 @@
- This needs to match the constants in
- policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
- -->
- + <add-resource type="integer" name="config_longPressOnAppSwitchBehavior"></add-resource>
- <integer name="config_longPressOnAppSwitchBehavior">1</integer>
- <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
- diff --git a/overlay/frameworks/opt/telephony/resources/res/values/config.xml b/overlay/frameworks/opt/telephony/resources/res/values/config.xml
- deleted file mode 100644
- index 5f2d264..0000000
- --- a/overlay/frameworks/opt/telephony/resources/res/values/config.xml
- +++ /dev/null
- @@ -1,36 +0,0 @@
- -<?xml version="1.0" encoding="utf-8"?>
- -<!-- Copyright (c) 2015, The Linux Foundation. All rights reserved.
- -
- - Redistribution and use in source and binary forms, with or without
- - modification, are permitted provided that the following conditions are
- - met:
- - * Redistributions of source code must retain the above copyright
- - notice, this list of conditions and the following disclaimer.
- - * Redistributions in binary form must reproduce the above
- - copyright notice, this list of conditions and the following
- - disclaimer in the documentation and/or other materials provided
- - with the distribution.
- - * Neither the name of The Linux Foundation nor the names of its
- - contributors may be used to endorse or promote products derived
- - from this software without specific prior written permission.
- -
- - THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
- - WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
- - ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
- - BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- - BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- - WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- - OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
- - IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- --->
- -
- -<resources>
- - <!--The .jar file name which has the extended implementation
- - of telephony base classes.-->
- - <string name="telephony_plugin_jar_name" translatable="false">qti-telephony-common.jar</string>
- - <!--Fully qualified class name of telephony extended plugin.-->
- - <string name="telephony_plugin_class_name" translatable="false">com.qti.internal.telephony.QtiTelephonyPlugin</string>
- -</resources>
- diff --git a/proprietary-files.txt b/proprietary-files.txt
- index 19965da..d259621 100644
- --- a/proprietary-files.txt
- +++ b/proprietary-files.txt
- @@ -51,7 +51,7 @@ vendor/lib64/libbtnv.so
- # Camera
- bin/mm-qcamera-app
- bin/mm-qcamera-daemon
- -lib/hw/camera.msm8994.so:lib/hw/camera.vendor.msm8994.so
- +lib/hw/camera.msm8994.so
- lib/libFNVfbEngineLib.so
- lib/libmm-qcamera.so
- lib/libmmcamera_interface.so
- diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
- index feece7e..b8b3632 100755
- --- a/rootdir/etc/init.qcom.rc
- +++ b/rootdir/etc/init.qcom.rc
- @@ -126,10 +126,6 @@ on init
- chown root system /proc/tri-state-key/keyCode_bottom
- chmod 0660 /proc/tri-state-key/keyCode_bottom
- - # PCC Calibration
- - chown system system /sys/devices/virtual/graphics/fb0/rgb
- - chmod 0660 /sys/devices/virtual/graphics/fb0/rgb
- -
- # for product mode flashlight
- chown system system /proc/qcom_flash
- @@ -169,6 +165,18 @@ on init
- chown root system /sys/class/kgsl/kgsl-3d0/dispatch/inflight_low_latency
- chmod 0660 /sys/class/kgsl/kgsl-3d0/dispatch/inflight_low_latency
- + # GPU Tuning
- + chown root system /sys/class/kgsl/kgsl-3d0/dispatch/inflight
- + chmod 0660 /sys/class/kgsl/kgsl-3d0/dispatch/inflight
- + chown root system /sys/class/kgsl/kgsl-3d0/dispatch/inflight_low_latency
- + chmod 0660 /sys/class/kgsl/kgsl-3d0/dispatch/inflight_low_latency
- +
- + # GPU Tuning
- + chown root system /sys/class/kgsl/kgsl-3d0/dispatch/inflight
- + chmod 0660 /sys/class/kgsl/kgsl-3d0/dispatch/inflight
- + chown root system /sys/class/kgsl/kgsl-3d0/dispatch/inflight_low_latency
- + chmod 0660 /sys/class/kgsl/kgsl-3d0/dispatch/inflight_low_latency
- +
- # Enable cgroup_freezer
- mkdir /sys/fs/cgroup/freezer 0750 root system
- mount cgroup none /sys/fs/cgroup/freezer freezer
- @@ -203,6 +211,12 @@ on boot
- start rmt_storage
- start rfs_access
- + # update foreground cpuset now that processors are up
- + write /dev/cpuset/foreground/cpus 0-7
- + write /dev/cpuset/foreground/boost/cpus 4-7
- + write /dev/cpuset/background/cpus 0-2
- + write /dev/cpuset/system-background/cpus 0-3
- +
- chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
- chown bluetooth net_bt /sys/class/rfkill/rfkill0/type
- chown bluetooth net_bt /sys/class/rfkill/rfkill0/state
- @@ -289,50 +303,15 @@ on boot
- # create symlink for fb1 as HDMI
- symlink /dev/graphics/fb1 /dev/graphics/hdmi
- - # MDP idle notifier
- - chown system graphics /sys/class/graphics/fb0/idle_time
- - chmod 0664 /sys/class/graphics/fb0/idle_time
- -
- - # setup permissions for fb1 related nodes
- + # Graphics
- chown system graphics /sys/class/graphics/fb0/idle_time
- - chown system graphics /sys/class/graphics/fb0/dynamic_fps
- - chown system graphics /sys/class/graphics/fb0/dyn_pu
- - chown system graphics /sys/class/graphics/fb0/modes
- - chown system graphics /sys/class/graphics/fb0/mode
- -
- chmod 0664 /sys/devices/virtual/graphics/fb0/idle_time
- - chmod 0664 /sys/devices/virtual/graphics/fb0/dynamic_fps
- + chown system graphics /sys/class/graphics/fb0/dyn_pu
- chmod 0664 /sys/devices/virtual/graphics/fb0/dyn_pu
- - chmod 0664 /sys/devices/virtual/graphics/fb0/modes
- + chown system graphics /sys/class/graphics/fb0/mode
- chmod 0664 /sys/devices/virtual/graphics/fb0/mode
- -
- - chown system graphics /sys/class/graphics/fb1/hpd
- - chown system graphics /sys/class/graphics/fb1/res_info
- - chown system graphics /sys/class/graphics/fb1/vendor_name
- - chown system graphics /sys/class/graphics/fb1/product_description
- - chown system graphics /sys/class/graphics/fb1/video_mode
- - chown system graphics /sys/class/graphics/fb1/format_3d
- - chown system graphics /sys/class/graphics/fb1/s3d_mode
- - chown system graphics /sys/class/graphics/fb1/cec/enable
- - chown system graphics /sys/class/graphics/fb1/cec/logical_addr
- - chown system graphics /sys/class/graphics/fb1/cec/rd_msg
- - chown system graphics /sys/class/graphics/fb1/pa
- - chown system graphics /sys/class/graphics/fb1/cec/wr_msg
- - chown system graphics /sys/class/graphics/fb1/hdcp/tp
- -
- - chmod 0664 /sys/devices/virtual/graphics/fb1/hpd
- - chmod 0664 /sys/devices/virtual/graphics/fb1/res_info
- - chmod 0664 /sys/devices/virtual/graphics/fb1/vendor_name
- - chmod 0664 /sys/devices/virtual/graphics/fb1/product_description
- - chmod 0664 /sys/devices/virtual/graphics/fb1/video_mode
- - chmod 0664 /sys/devices/virtual/graphics/fb1/format_3d
- - chmod 0664 /sys/devices/virtual/graphics/fb1/s3d_mode
- - chmod 0664 /sys/devices/virtual/graphics/fb1/cec/enable
- - chmod 0664 /sys/devices/virtual/graphics/fb1/cec/logical_addr
- - chmod 0664 /sys/devices/virtual/graphics/fb1/cec/rd_msg
- - chmod 0664 /sys/devices/virtual/graphics/fb1/pa
- - chmod 0664 /sys/devices/virtual/graphics/fb1/cec/wr_msg
- - chmod 0664 /sys/devices/virtual/graphics/fb1/hdcp/tp
- + chown system graphics /sys/class/graphics/fb0/modes
- + chmod 0664 /sys/devices/virtual/graphics/fb0/modes
- # Allow access for CCID command/response timeout configuration
- chown system system /sys/module/ccid_bridge/parameters/bulk_msg_timeout
- diff --git a/system.prop b/system.prop
- index a80061d..c0003fd 100644
- --- a/system.prop
- +++ b/system.prop
- @@ -8,7 +8,7 @@ ro.qc.sdk.audio.fluencetype=fluence
- ro.qc.sdk.audio.ssr=false
- persist.audio.ssr.3mic=false
- media.aac_51_output_enabled=true
- -audio.offload.pcm.16bit.enable=false
- +audio.offload.pcm.16bit.enable=true
- audio.offload.pcm.24bit.enable=true
- use.voice.path.for.pcm.voip=true
- audio.offload.multiple.enabled=true
- @@ -24,7 +24,6 @@ ro.bluetooth.wipower=true
- # Camera
- camera.disable_zsl_mode=1
- -persist.camera.HAL3.enabled=0
- persist.camera.cpp.duplication=false
- # CEC
- @@ -99,6 +98,9 @@ ro.qc.sdk.sensors.gestures=true
- ro.qc.sdk.gestures.camera=false
- ro.qc.sdk.camera.facialproc=false
- +# Storage
- +ro.sys.sdcardfs=true
- +
- # Time services
- persist.timed.enable=true
- diff --git a/vendorsetup.sh b/vendorsetup.sh
- index a231aa7..1e551d6 100755
- --- a/vendorsetup.sh
- +++ b/vendorsetup.sh
- @@ -1,3 +1,2 @@
- -add_lunch_combo cm_oneplus2-user
- add_lunch_combo cm_oneplus2-userdebug
- -add_lunch_combo cm_oneplus2-eng
- KERNEL:
- david@RosettaStoned:~/Android/cyanogenmod/kernel/oneplus/msm8994$ git diff grarak/cm-14.0 seraph/cm-14.0
- diff --git a/arch/arm64/boot/dts/14049_HW/msm8994.dtsi b/arch/arm64/boot/dts/14049_HW/msm8994.dtsi
- new file mode 100644
- index 0000000..3542c21
- --- /dev/null
- +++ b/arch/arm64/boot/dts/14049_HW/msm8994.dtsi
- @@ -0,0 +1,3920 @@
- +/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
- + *
- + * This program is free software; you can redistribute it and/or modify
- + * it under the terms of the GNU General Public License version 2 and
- + * only version 2 as published by the Free Software Foundation.
- + *
- + * This program is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + */
- +
- +/memreserve/ 0x00000000 0x00001000;
- +/memreserve/ 0xac1c0000 0x00001000;
- +
- +#include "skeleton64.dtsi"
- +#include <dt-bindings/clock/msm-clocks-8994.h>
- +
- +/ {
- + model = "Qualcomm Technologies, Inc. MSM 8994";
- + compatible = "qcom,msm8994";
- + qcom,msm-id = <207 0x0>;
- + qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
- + interrupt-parent = <&intc>;
- +
- + chosen {
- + bootargs = "sched_enable_hmp=1 sched_enable_power_aware=1 sched_same_power_cost_cpus=0-3";
- + };
- +
- + aliases {
- + sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
- + /*do not enable sdhc2 and sdhc3
- + sdhc2 = &sdhc_2;
- + sdhc3 = &sdhc_3;
- + */
- + i2c6 = &i2c_6; /* I2C6 NFC qup6 device */
- + i2c1 = &i2c_1;
- + i2c2 = &i2c_2;
- + i2c5 = &i2c_5;
- + spi0 = &spi_0;
- + /*#ifdef VENDOR_EDIT modify for fpc1021 fingerprints*/
- + spi12 = &spi_12;
- + /*#end VENDOR_EDIT*/
- + qup2 = &i2c_2;
- + };
- +
- + cpus {
- + #address-cells = <1>;
- + #size-cells = <0>;
- + cpu-map {
- + cluster0 {
- + core0 {
- + cpu = <&CPU0>;
- + };
- + core1 {
- + cpu = <&CPU1>;
- + };
- + core2 {
- + cpu = <&CPU2>;
- + };
- + core3 {
- + cpu = <&CPU3>;
- + };
- :
- +#include <dt-bindings/clock/msm-clocks-8994.h>
- +
- +/ {
- + model = "Qualcomm Technologies, Inc. MSM 8994";
- + compatible = "qcom,msm8994";
- + qcom,msm-id = <207 0x0>;
- + qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
- + interrupt-parent = <&intc>;
- +
- + chosen {
- + bootargs = "sched_enable_hmp=1 sched_enable_power_aware=1 sched_same_power_cost_cpus=0-3";
- + };
- +
- + aliases {
- + sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
- + /*do not enable sdhc2 and sdhc3
- + sdhc2 = &sdhc_2;
- + sdhc3 = &sdhc_3;
- + */
- + i2c6 = &i2c_6; /* I2C6 NFC qup6 device */
- + i2c1 = &i2c_1;
- + i2c2 = &i2c_2;
- + i2c5 = &i2c_5;
- + spi0 = &spi_0;
- + /*#ifdef VENDOR_EDIT modify for fpc1021 fingerprints*/
- + spi12 = &spi_12;
- + /*#end VENDOR_EDIT*/
- + qup2 = &i2c_2;
- :
- +#include <dt-bindings/clock/msm-clocks-8994.h>
- +
- +/ {
- + model = "Qualcomm Technologies, Inc. MSM 8994";
- + compatible = "qcom,msm8994";
- + qcom,msm-id = <207 0x0>;
- + qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
- + interrupt-parent = <&intc>;
- +
- + chosen {
- + bootargs = "sched_enable_hmp=1 sched_enable_power_aware=1 sched_same_power_cost_cpus=0-3";
- + };
- +
- + aliases {
- + sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
- + /*do not enable sdhc2 and sdhc3
- + sdhc2 = &sdhc_2;
- + sdhc3 = &sdhc_3;
- + */
- + i2c6 = &i2c_6; /* I2C6 NFC qup6 device */
- + i2c1 = &i2c_1;
- + i2c2 = &i2c_2;
- + i2c5 = &i2c_5;
- + spi0 = &spi_0;
- + /*#ifdef VENDOR_EDIT modify for fpc1021 fingerprints*/
- + spi12 = &spi_12;
- + /*#end VENDOR_EDIT*/
- + qup2 = &i2c_2;
- + };
- +
- + cpus {
- + #address-cells = <1>;
- + #size-cells = <0>;
- + cpu-map {
- + cluster0 {
- + core0 {
- + cpu = <&CPU0>;
- + };
- + core1 {
- + cpu = <&CPU1>;
- + };
- + core2 {
- + cpu = <&CPU2>;
- + };
- + core3 {
- + cpu = <&CPU3>;
- + };
- + };
- +
- + cluster1 {
- + core0 {
- + cpu = <&CPU4>;
- + };
- + core1 {
- + cpu = <&CPU5>;
- + };
- + core2 {
- + cpu = <&CPU6>;
- + };
- + core3 {
- + cpu = <&CPU7>;
- + };
- + };
- + };
- +
- + CPU0: cpu@0 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x0>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc0>;
- + qcom,ldo = <&ldo0>;
- + next-level-cache = <&L2_0>;
- + // The currents(uA) correspond to the frequencies in the
- + // frequency table.
- + current = < 24140 //384000 kHZ
- + 27200 //460800 kHZ
- + 32300 //600000 kHZ
- + 36940 //672000 kHz
- + 41570 //768000 kHZ
- + 49870 //864000 kHZ
- + 57840 //960000 kHZ
- + 79800 //1248000 kHZ
- + 88810 //1344000 kHZ
- + 102400 //1478400 kHZ
- + 110900>; //1555200 kHZ
- + L2_0: l2-cache {
- + compatible = "arm,arch-cache";
- + cache-level = <2>;
- + power-domain = <&l2ccc_0>;
- + qcom,dump-size = <0x0>; /* A53 L2 dump not supported */
- + L2_tlb_0: l2-tlb {
- + qcom,dump-size = <0x4000>;
- + };
- + };
- + L1_I_0: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_0: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU1: cpu@1 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x1>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc1>;
- + qcom,ldo = <&ldo1>;
- + next-level-cache = <&L2_0>;
- + // The currents(uA) correspond to the frequencies in the
- + // frequency table.
- + current = < 9415 //384000 kHZ
- + 10608 //460800 kHZ
- + 12597 //600000 kHZ
- + 14407 //672000 kHz
- + 16212 //768000 kHZ
- + 19449 //864000 kHZ
- + 22558 //960000 kHZ
- + 31122 //1248000 kHZ
- + 34636 //1344000 kHZ
- + 39936 //1478400 kHZ
- + 43251>; //1555200 kHZ
- + L1_I_1: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_1: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU2: cpu@2 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x2>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc2>;
- + qcom,ldo = <&ldo2>;
- + next-level-cache = <&L2_0>;
- + // The currents(uA) correspond to the frequencies in the
- + // frequency table.
- + current = < 9656 //384000 kHZ
- + 10880 //460800 kHZ
- + 12920 //600000 kHZ
- + 14776 //672000 kHz
- + 16628 //768000 kHZ
- + 19948 //864000 kHZ
- + 23136 //960000 kHZ
- + 31920 //1248000 kHZ
- + 35524 //1344000 kHZ
- + 40960 //1478400 kHZ
- + 44360>; //1555200 kHZ
- + L1_I_2: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_2: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU3: cpu@3 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x3>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc3>;
- + qcom,ldo = <&ldo3>;
- + next-level-cache = <&L2_0>;
- + // The currents(uA) correspond to the frequencies in the
- + // frequency table.
- + current = < 10139 //384000 kHZ
- + 11424 //460800 kHZ
- + 13566 //600000 kHZ
- + 15515 //672000 kHz
- + 17459 //768000 kHZ
- + 20945 //864000 kHZ
- + 24293 //960000 kHZ
- + 33516 //1248000 kHZ
- + 37300 //1344000 kHZ
- + 43008 //1478400 kHZ
- + 46578>; //1555200 kHZ
- + L1_I_3: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_3: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU4: cpu@4 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x100>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc4>;
- + qcom,ldo = <&ldo4>;
- + next-level-cache = <&L2_1>;
- + // The currents(uA) correspond to the frequencies in the
- + // frequency table.
- + current = < 86830 //384000 kHZ
- + 103240 //480000 kHZ
- + 129380 //633600 kHZ
- + 155210 //768000 kHZ
- + 177990 //864000 kHZ
- + 195550 //960000 kHZ
- + 265090 //1248000 kHZ
- + 292770 //1344000 kHZ
- + 322130 //1440000 kHZ
- + 348190 //1536000 kHZ
- + 370180 //1632000 kHZ
- + 235196>; //1728000 kHZ
- + L2_1: l2-cache {
- + compatible = "arm,arch-cache";
- + cache-level = <2>;
- + qcom,dump-size = <0x280040>; /*A57 Cluster L2 size is 1MB */
- + power-domain = <&l2ccc_1>;
- + L2_tlb_1: l2-tlb {
- + qcom,dump-size = <0x4000>;
- + };
- + };
- + L1_itlb_100: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_100: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_100: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_100: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU5: cpu@5 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x101>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc5>;
- + qcom,ldo = <&ldo5>;
- + next-level-cache = <&L2_1>;
- + // The currents(uA) correspond to the frequencies in the
- + // frequency table.
- + current = < 50361 //384000 kHZ
- + 59879 //480000 kHZ
- + 75040 //633600 kHZ
- + 90144 //768000 kHZ
- + 103234 //864000 kHZ
- + 113419 //960000 kHZ
- + 153752 //1248000 kHZ
- + 169807 //1344000 kHZ
- + 186835 //1440000 kHZ
- + 201950 //1536000 kHZ
- + 214704 //1632000 kHZ
- + 235196>; //1728000 kHZ
- + L1_itlb_101: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_101: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_101: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_101: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU6: cpu@6 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x102>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc6>;
- + qcom,ldo = <&ldo6>;
- + next-level-cache = <&L2_1>;
- + // The currents(uA) correspond to the frequencies in the
- + // frequency table.
- + current = < 59913 //384000 kHZ
- + 71236 //480000 kHZ
- + 89272 //633600 kHZ
- + 107240 //768000 kHZ
- + 122813 //864000 kHZ
- + 134930 //960000 kHZ
- + 182912 //1248000 kHZ
- + 202011 //1344000 kHZ
- + 222270 //1440000 kHZ
- + 240251 //1536000 kHZ
- + 255424 //1632000 kHZ
- + 279802>; //1728000 kHZ
- + L1_itlb_102: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_102: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_102: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_102: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU7: cpu@7 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x103>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc7>;
- + qcom,ldo = <&ldo7>;
- + next-level-cache = <&L2_1>;
- + // The currents(uA) correspond to the frequencies in the
- + // frequency table.
- + current = < 62518 //384000 kHZ
- + 74333 //480000 kHZ
- + 93154 //633600 kHZ
- + 111902 //768000 kHZ
- + 128153 //864000 kHZ
- + 140796 //960000 kHZ
- + 190865 //1248000 kHZ
- + 210794 //1344000 kHZ
- + 231934 //1440000 kHZ
- + 250697 //1536000 kHZ
- + 266530 //1632000 kHZ
- + 291967>; //1728000 kHZ
- + L1_itlb_103: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_103: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_103: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_103: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- + };
- +
- + soc: soc { };
- +
- + memory {
- + #address-cells = <2>;
- + #size-cells = <2>;
- +
- + secure_mem: secure_region@0 {
- + linux,reserve-contiguous-region;
- + reg = <0 0 0 0x12c00000>;
- + label = "secure_mem";
- + };
- +
- + adsp_mem: adsp_region@0 {
- + linux,reserve-contiguous-region;
- + reg = <0 0 0 0x3F00000>;
- + label = "adsp_mem";
- + };
- +
- + qsecom_mem: qsecom_region@0 {
- + linux,reserve-contiguous-region;
- + reg = <0 0 0 0x1800000>;
- + label = "qseecom_mem";
- + };
- +
- + audio_mem: audio_region@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + reg = <0 0 0 0x614000>;
- + label = "audio_mem";
- + };
- +
- + removed_regions: removed_regions@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + linux,remove-completely;
- + reg = <0 0x06300000 0 0xD00000>;
- + label = "memory_hole";
- + };
- + /*#ifdef VENDOR_EDIT*/
- + nvbackup_regions: nvbackup_regions@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;
- + reg = <0 0x06200000 0 0x100000>;
- + label = "memory_nvbackup";
- + };
- + /*#endif VENDOR_EDIT*/
- + dfps_data_mem: dfps_data_mem@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + reg = <0 0x03400000 0 0x1000>;
- + label = "dfps_data_mem";
- + };
- + cont_splash_mem: cont_splash_mem@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + reg = <0 0x03401000 0 0x2200000>;
- + label = "cont_splash_mem";
- + };
- +
- + peripheral_mem: peripheral_region@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + linux,remove-completely;
- + reg = <0 0x0ca00000 0 0x1f00000>;
- + label = "peripheral_mem";
- + };
- +/*#ifdef VENDOR_EDIT //changhua.li add for enlarge TZ APP memory to 25M*/
- + tzapp_mem: tzapp_region@0 {
- +
- + linux,reserve-contiguous-region;
- +
- + linux,reserve-region;
- +
- + linux,remove-completely;
- +
- + reg = <0 0x0E900000 0 0x1900000>;
- +
- + label = "tzapp_mem";
- +
- + };
- +/*#endif VENDOR_EDIT*/
- +
- +
- + modem_mem: modem_region@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + linux,remove-completely;
- + reg = <0 0x07000000 0 0x5a00000>;
- + label = "modem_mem";
- + };
- +
- +/* #ifdef VENDOR_EDIT // add by xcb for ramoops 2015-03-31 */
- + ramoops_mem: ramoops_region@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;//modify by jiachenghui for ramoops reserve region
- + //linux,remove-completely;//del by jiachenghui for ramoops reserve region
- + reg = <0 0xac000000 0 0x00100000>;//modify from 0x05800000 to 0xac000000 by jiachenghui for ramoops reserve region
- + label = "ramoops_mem";
- + };
- +/* #endif VENDOR_EDIT */
- +
- + param_mem: param_region@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;
- + //linux,remove-completely;
- + reg = <0 0xac200000 0 0x00100000>;
- + label = "param_mem";
- + };
- + mtp_regions: mtp_regions@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;
- + reg = <0 0xAC400000 0 0x00100000>;
- + label = "memory_mtp";
- + };
- + };
- +};
- +
- +#include "msm-gdsc.dtsi"
- +#include "msm8994-smp2p.dtsi"
- +#include "msm8994-ipcrouter.dtsi"
- +#include "msm8994-mdss.dtsi"
- +#include "msm8994-mdss-pll.dtsi"
- +#include "msm8994-bus.dtsi"
- +
- +&soc {
- + #address-cells = <1>;
- + #size-cells = <1>;
- + ranges = <0 0 0 0xffffffff>;
- + compatible = "simple-bus";
- +
- + cpuss@fd4a8000 {
- + compatible = "qcom,cpuss-8994";
- + reg = <0xfd4a8000 0x4>;
- + };
- +
- + acc0:clock-controller@f908b004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9070000 0x1000>,
- + <0xf908b000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc1:clock-controller@f909b004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9071000 0x1000>,
- + <0xf909b000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc2:clock-controller@f90ab004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9072000 0x1000>,
- + <0xf90ab000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc3:clock-controller@f90bb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9073000 0x1000>,
- + <0xf90bb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc4:clock-controller@f90cb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9074000 0x1000>,
- + <0xf90cb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc5:clock-controller@f90db004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9075000 0x1000>,
- + <0xf90db000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc6:clock-controller@f90eb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9076000 0x1000>,
- + <0xf90eb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc7:clock-controller@f90fb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9077000 0x1000>,
- + <0xf90fb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + ldo0:ldo-vref@f9070000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9070000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo1:ldo-vref@f9071000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9071000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo2:ldo-vref@f9072000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9072000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo3:ldo-vref@f9073000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9073000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo4:ldo-vref@f9074000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9074000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- + ldo5:ldo-vref@f9075000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9075000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- + ldo6:ldo-vref@f9076000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9076000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- + ldo7:ldo-vref@f9077000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9077000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- + l2ccc_0: clock-controller@f900d000 {
- + compatible = "qcom,8994-l2ccc";
- + reg = <0xf900d000 0x1000>,
- + <0xf911210c 0x4>;
- + qcom,vctl-node = <&cluster0_spm>;
- + };
- +
- + l2ccc_1: clock-controller@f900f000 {
- + compatible = "qcom,8994-l2ccc";
- + reg = <0xf900f000 0x1000>,
- + <0xf911210c 0x4>;
- + qcom,vctl-node = <&cluster1_spm>;
- + qcom,vctl-val = <0xb8>;
- + };
- +
- + intc: interrupt-controller@f9000000 {
- + compatible = "qcom,msm-qgic2";
- + interrupt-controller;
- + #interrupt-cells = <3>;
- + reg = <0xf9000000 0x1000>,
- + <0xf9002000 0x1000>;
- + };
- +
- + timer {
- + compatible = "arm,armv8-timer";
- + interrupts = <1 2 0xff08>,
- + <1 3 0xff08>,
- + <1 4 0xff08>,
- + <1 1 0xff08>;
- + clock-frequency = <19200000>;
- + };
- +
- + qcom,mpm2-sleep-counter@fc4a3000 {
- + compatible = "qcom,mpm2-sleep-counter";
- + reg = <0xfc4a3000 0x1000>;
- + clock-frequency = <32768>;
- + };
- +
- + timer@f9020000 {
- + #address-cells = <1>;
- + #size-cells = <1>;
- + ranges;
- + compatible = "arm,armv7-timer-mem";
- + reg = <0xf9020000 0x1000>;
- + clock-frequency = <19200000>;
- +
- + frame@f9021000 {
- + frame-number = <0>;
- + interrupts = <0 9 0x4>,
- + <0 8 0x4>;
- + reg = <0xf9021000 0x1000>,
- + <0xf9022000 0x1000>;
- + };
- +
- + frame@f9023000 {
- + frame-number = <1>;
- + interrupts = <0 10 0x4>;
- + reg = <0xf9023000 0x1000>;
- + status = "disabled";
- + };
- +
- + frame@f9024000 {
- + frame-number = <2>;
- + interrupts = <0 11 0x4>;
- + reg = <0xf9024000 0x1000>;
- + status = "disabled";
- + };
- +
- + frame@f9025000 {
- + frame-number = <3>;
- + interrupts = <0 12 0x4>;
- + reg = <0xf9025000 0x1000>;
- + status = "disabled";
- + };
- +
- + frame@f9026000 {
- + frame-number = <4>;
- + interrupts = <0 13 0x4>;
- + reg = <0xf9026000 0x1000>;
- + status = "disabled";
- + };
- +
- + frame@f9027000 {
- + frame-number = <5>;
- + interrupts = <0 14 0x4>;
- + reg = <0xf9027000 0x1000>;
- + status = "disabled";
- + };
- +
- + frame@f9028000 {
- + frame-number = <6>;
- + interrupts = <0 15 0x4>;
- + reg = <0xf9028000 0x1000>;
- + status = "disabled";
- + };
- + };
- +
- + restart@fc4ab000 {
- + compatible = "qcom,pshold";
- + reg = <0xfc4ab000 0x4>;
- + };
- +
- + blsp1_uart3: serial@f991f000 {
- + compatible = "qcom,msm-lsuart-v14";
- + reg = <0xf991f000 0x1000>;
- + interrupts = <0 109 0>;
- + status = "disabled";
- + clock-names = "core_clk", "iface_clk";
- + clocks = <&clock_gcc clk_gcc_blsp1_uart3_apps_clk>,
- + <&clock_gcc clk_gcc_blsp1_ahb_clk>;
- + };
- +
- + blsp1_uart2: serial@f991e000 {
- + compatible = "qcom,msm-lsuart-v14";
- + reg = <0xf991e000 0x1000>;
- + interrupts = <0 108 0>;
- + status = "disabled";
- + clock-names = "core_clk", "iface_clk";
- + clocks = <&clock_gcc clk_gcc_blsp1_uart2_apps_clk>,
- + <&clock_gcc clk_gcc_blsp1_ahb_clk>;
- + };
- +
- + blsp2_uart2: uart@f995e000 { /* BLSP2 UART2 */
- + compatible = "qcom,msm-hsuart-v14";
- + reg = <0xf995e000 0x1000>,
- + <0xf9944000 0x19000>;
- + status = "disabled";
- + reg-names = "core_mem", "bam_mem";
- + interrupt-names = "core_irq", "bam_irq", "wakeup_irq";
- + #address-cells = <0>;
- + interrupt-parent = <&blsp2_uart2>;
- + interrupts = <0 1 2>;
- + #interrupt-cells = <1>;
- + interrupt-map-mask = <0xffffffff>;
- + interrupt-map = <0 &intc 0 114 0
- + 1 &intc 0 239 0
- + 2 &msm_gpio 46 0>;
- +
- + qcom,inject-rx-on-wakeup;
- + qcom,rx-char-to-inject = <0xFD>;
- +
- + qcom,bam-tx-ep-pipe-index = <2>;
- + qcom,bam-rx-ep-pipe-index = <3>;
- + qcom,master-id = <84>;
- + clock-names = "core_clk", "iface_clk";
- + clocks = <&clock_gcc clk_gcc_blsp2_uart2_apps_clk>,
- + <&clock_gcc clk_gcc_blsp2_ahb_clk>;
- + pinctrl-names = "sleep", "default";
- + pinctrl-0 = <&hsuart_sleep>;
- + pinctrl-1 = <&hsuart_active>;
- +
- + qcom,msm-bus,name = "buart8";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <84 512 0 0>,
- + <84 512 500 800>;
- + };
- +
- + qcom,sps@f9984000 {
- + compatible = "qcom,msm_sps";
- + reg-names = "bam_mem", "core_mem";
- + reg = <0xf9984000 0x15000>,
- + <0xf9999000 0xb000>;
- + interrupts = <0 94 0>;
- + qcom,pipe-attr-ee;
- + clocks = <&clock_rpm clk_pnoc_sps_clk>,
- + <&clock_gcc clk_gcc_bam_dma_ahb_clk>;
- + clock-names = "dfab_clk", "dma_bam_pclk";
- + };
- +
- + pcie0: qcom,pcie@fc520000 {
- + compatible = "qcom,pci-msm";
- + cell-index = <0>;
- +
- + reg = <0xfc520000 0x2000>,
- + <0xfc526000 0x1000>,
- + <0xff000000 0xf1d>,
- + <0xff000f20 0xa8>,
- + <0xff100000 0x100000>,
- + <0xff200000 0x100000>,
- + <0xff300000 0xd00000>;
- +
- + reg-names = "parf", "phy", "dm_core", "elbi",
- + "conf", "io", "bars";
- +
- + #address-cells = <0>;
- + interrupt-parent = <&pcie0>;
- + interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12>;
- + #interrupt-cells = <1>;
- + interrupt-map-mask = <0xffffffff>;
- + interrupt-map = <0 &intc 0 243 0
- + 1 &intc 0 244 0
- + 2 &intc 0 245 0
- + 3 &intc 0 247 0
- + 4 &intc 0 248 0
- + 5 &intc 0 249 0
- + 6 &intc 0 250 0
- + 7 &intc 0 251 0
- + 8 &intc 0 252 0
- + 9 &intc 0 253 0
- + 10 &intc 0 254 0
- + 11 &intc 0 255 0>;
- +
- + interrupt-names = "int_msi", "int_a", "int_b", "int_c", "int_d",
- + "int_pls_pme", "int_pme_legacy", "int_pls_err",
- + "int_aer_legacy", "int_pls_link_up",
- + "int_pls_link_down", "int_bridge_flush_n";
- +
- + pinctrl-names = "default";
- + pinctrl-0 = <&pcie0_clkreq_default &pcie0_perst_default &pcie0_wake_default>;
- +
- + perst-gpio = <&msm_gpio 53 0>;
- + wake-gpio = <&msm_gpio 55 0>;
- +
- + gdsc-vdd-supply = <&gdsc_pcie_0>;
- + vreg-1.8-supply = <&pm8994_l12>;
- + vreg-0.9-supply = <&pm8994_l28>;
- +
- + qcom,ep-latency = <10>;
- +
- + qcom,msi-gicm-addr = <0xf9006040>;
- + qcom,msi-gicm-base = <0x180>;
- +
- + qcom,msm-bus,name = "pcie0";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <45 512 0 0>,
- + <45 512 500 800>;
- +
- + qcom,scm-dev-id = <11>;
- +
- + clocks = <&clock_gcc clk_gcc_pcie_0_pipe_clk>,
- + <&clock_rpm clk_ln_bb_clk>,
- + <&clock_gcc clk_gcc_pcie_0_aux_clk>,
- + <&clock_gcc clk_gcc_pcie_0_cfg_ahb_clk>,
- + <&clock_gcc clk_gcc_pcie_0_mstr_axi_clk>,
- + <&clock_gcc clk_gcc_pcie_0_slv_axi_clk>,
- + <&clock_gcc clk_pcie_0_phy_ldo>,
- + <&clock_gcc clk_gcc_pcie_phy_0_reset>;
- +
- + clock-names = "pcie_0_pipe_clk", "pcie_0_ref_clk_src", "pcie_0_aux_clk",
- + "pcie_0_cfg_ahb_clk", "pcie_0_mstr_axi_clk",
- + "pcie_0_slv_axi_clk", "pcie_0_ldo", "pcie_0_phy_reset";
- +
- + max-clock-frequency-hz = <125000000>, <0>, <1011000>, <0>, <0>, <0>, <0>, <0>;
- + };
- +
- + pcie1: qcom,pcie@fc528000 {
- + compatible = "qcom,pci-msm";
- + cell-index = <1>;
- +
- + reg = <0xfc528000 0x2000>,
- + <0xfc52e000 0x1000>,
- + <0xf8800000 0xf1d>,
- + <0xf8800F20 0xa8>,
- + <0xf8801000 0x7f000>,
- + <0xf8880000 0x80000>,
- + <0xf8900000 0x700000>;
- +
- + reg-names = "parf", "phy", "dm_core", "elbi",
- + "conf", "io", "bars";
- +
- + #address-cells = <0>;
- + interrupt-parent = <&pcie1>;
- + interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12>;
- + #interrupt-cells = <1>;
- + interrupt-map-mask = <0xffffffff>;
- + interrupt-map = <0 &intc 0 271 0
- + 1 &intc 0 272 0
- + 2 &intc 0 273 0
- + 3 &intc 0 274 0
- + 4 &intc 0 275 0
- + 5 &intc 0 276 0
- + 6 &intc 0 277 0
- + 7 &intc 0 278 0
- + 8 &intc 0 279 0
- + 9 &intc 0 280 0
- + 10 &intc 0 281 0
- + 11 &intc 0 282 0>;
- +
- + interrupt-names = "int_msi", "int_a", "int_b", "int_c", "int_d",
- + "int_pls_pme", "int_pme_legacy", "int_pls_err",
- + "int_aer_legacy", "int_pls_link_up",
- + "int_pls_link_down", "int_bridge_flush_n";
- +
- + pinctrl-names = "default", "sleep";
- + pinctrl-0 = <&pcie1_clkreq_default &pcie1_perst_default &pcie1_wake_default>;
- + pinctrl-1 = <&pcie1_clkreq_default &pcie1_perst_default &pcie1_wake_sleep>;
- +
- + perst-gpio = <&msm_gpio 35 0>;
- + wake-gpio = <&msm_gpio 37 0>;
- +
- + gdsc-vdd-supply = <&gdsc_pcie_1>;
- + vreg-1.8-supply = <&pm8994_l12>;
- + vreg-0.9-supply = <&pm8994_l28>;
- +
- + qcom,l1-supported;
- + qcom,l1ss-supported;
- + qcom,aux-clk-sync;
- +
- + qcom,ep-latency = <10>;
- +
- + qcom,msi-gicm-addr = <0xf9007040>;
- + qcom,msi-gicm-base = <0x1a0>;
- +
- + qcom,ep-wakeirq;
- +
- + qcom,msm-bus,name = "pcie1";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <100 512 0 0>,
- + <100 512 500 800>;
- +
- + qcom,scm-dev-id = <12>;
- +
- + clocks = <&clock_gcc clk_gcc_pcie_1_pipe_clk>,
- + <&clock_rpm clk_ln_bb_clk>,
- + <&clock_gcc clk_gcc_pcie_1_aux_clk>,
- + <&clock_gcc clk_gcc_pcie_1_cfg_ahb_clk>,
- + <&clock_gcc clk_gcc_pcie_1_mstr_axi_clk>,
- + <&clock_gcc clk_gcc_pcie_1_slv_axi_clk>,
- + <&clock_gcc clk_pcie_1_phy_ldo>,
- + <&clock_gcc clk_gcc_pcie_phy_1_reset>;
- +
- + clock-names = "pcie_1_pipe_clk", "pcie_1_ref_clk_src", "pcie_1_aux_clk",
- + "pcie_1_cfg_ahb_clk", "pcie_1_mstr_axi_clk",
- + "pcie_1_slv_axi_clk", "pcie_1_ldo", "pcie_1_phy_reset";
- +
- + max-clock-frequency-hz = <125000000>, <0>, <1011000>, <0>, <0>, <0>, <0>, <0>;
- + };
- +
- + ipa_hw: qcom,ipa@fd4c0000 {
- + compatible = "qcom,ipa";
- + reg = <0xfd4c0000 0x29000>,
- + <0xfd4c4000 0x15820>;
- + reg-names = "ipa-base", "bam-base";
- + interrupts = <0 301 0>,
- + <0 300 0>;
- + interrupt-names = "ipa-irq", "bam-irq";
- + qcom,ipa-hw-ver = <3>; /* IPA core version = IPAv2.0 */
- + qcom,ipa-hw-mode = <0>; /* IPA hw type = Normal */
- + qcom,wan-rx-ring-size = <192>;
- + qcom,ee = <2>;
- + clock-names = "core_clk";
- + clocks = <&clock_rpm clk_ipa_clk>;
- + qcom,msm-bus,name = "ipa";
- + qcom,msm-bus,num-cases = <3>;
- + qcom,msm-bus,num-paths = <2>;
- + qcom,msm-bus,vectors-KBps =
- + <90 512 0 0>, <90 585 0 0>, /* No vote */
- + <90 512 100000 800000>, <90 585 100000 800000>, /* SVS */
- + <90 512 100000 1200000>, <90 585 100000 1200000>; /* PERF */
- + qcom,bus-vector-names = "MIN", "SVS", "PERF";
- +
- + };
- +
- + qcom,rmnet-ipa {
- + compatible = "qcom,rmnet-ipa";
- + qcom,rmnet-ipa-ssr;
- + qcom,ipa-loaduC;
- + };
- +
- + qcom,ipc-spinlock@fd484000 {
- + compatible = "qcom,ipc-spinlock-sfpb";
- + reg = <0xfd484000 0x400>;
- + qcom,num-locks = <8>;
- + };
- +
- + qcom,smem@6a00000 {
- + compatible = "qcom,smem";
- + reg = <0x6a00000 0x200000>,
- + <0xf900d008 0x4>,
- + <0xfc428000 0x4000>;
- + reg-names = "smem", "irq-reg-base", "aux-mem1";
- + qcom,mpu-enabled;
- +
- + qcom,smd-modem {
- + compatible = "qcom,smd";
- + qcom,smd-edge = <0>;
- + qcom,smd-irq-offset = <0x0>;
- + qcom,smd-irq-bitmask = <0x1000>;
- + interrupts = <0 25 1>;
- + label = "modem";
- + qcom,not-loadable;
- + };
- +
- + qcom,smsm-modem {
- + compatible = "qcom,smsm";
- + qcom,smsm-edge = <0>;
- + qcom,smsm-irq-offset = <0x0>;
- + qcom,smsm-irq-bitmask = <0x2000>;
- + interrupts = <0 26 1>;
- + };
- +
- + qcom,smd-adsp {
- + compatible = "qcom,smd";
- + qcom,smd-edge = <1>;
- + qcom,smd-irq-offset = <0x0>;
- + qcom,smd-irq-bitmask = <0x100>;
- + interrupts = <0 156 1>;
- + label = "adsp";
- + };
- +
- + qcom,smsm-adsp {
- + compatible = "qcom,smsm";
- + qcom,smsm-edge = <1>;
- + qcom,smsm-irq-offset = <0x0>;
- + qcom,smsm-irq-bitmask = <0x200>;
- + interrupts = <0 157 1>;
- + };
- +
- + qcom,smd-rpm {
- + compatible = "qcom,smd";
- + qcom,smd-edge = <15>;
- + qcom,smd-irq-offset = <0x0>;
- + qcom,smd-irq-bitmask = <0x1>;
- + interrupts = <0 168 1>;
- + label = "rpm";
- + qcom,irq-no-suspend;
- + qcom,not-loadable;
- + };
- + };
- +
- + qcom,msm-imem@fe87f000 {
- + compatible = "qcom,msm-imem";
- + reg = <0xfe87f000 0x1000>; /* Address and size of IMEM */
- + ranges = <0x0 0xfe87f000 0x1000>;
- + #address-cells = <1>;
- + #size-cells = <1>;
- +
- + download_mode@0 {
- + compatible = "qcom,msm-imem-download_mode";
- + reg = <0x0 8>;
- + };
- +
- + mem_dump_table@10 {
- + compatible = "qcom,msm-imem-mem_dump_table";
- + reg = <0x10 8>;
- + };
- +
- + restart_reason@65c {
- + compatible = "qcom,msm-imem-restart_reason";
- + reg = <0x65c 4>;
- + };
- +
- + boot_stats@6b0 {
- + compatible = "qcom,msm-imem-boot_stats";
- + reg = <0x6b0 32>;
- + };
- +
- + pil@94c {
- + compatible = "qcom,msm-imem-pil";
- + reg = <0x94c 200>;
- + };
- +
- + emergency_download_mode@fe0 {
- + compatible = "qcom,msm-imem-emergency_download_mode";
- + reg = <0xfe0 12>;
- + };
- + };
- +
- + qcom,wdt@f9017000 {
- + compatible = "qcom,msm-watchdog";
- + reg = <0xf9017000 0x1000>;
- + reg-names = "wdt-base";
- + interrupts = <0 3 0>, <0 4 0>;
- +//liyunbing@BSP, 2015/05/21, WDT bark-time too short cause some task timeout
- + #qcom,bark-time = <11000>;
- + qcom,bark-time = <15000>;
- + qcom,pet-time = <10000>;
- + qcom,ipi-ping;
- + };
- +
- + qcom,msm-rtb {
- + compatible = "qcom,msm-rtb";
- + qcom,rtb-size = <0x100000>;
- + };
- +
- + jtag_fuse: jtagfuse@fc4be024 {
- + compatible = "qcom,jtag-fuse";
- + reg = <0xfc4be024 0x8>;
- + reg-names = "fuse-base";
- + };
- +
- + jtag_mm0: jtagmm@fb840000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfb840000 0x1000>,
- + <0xfb810000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU0>;
- + };
- +
- + jtag_mm1: jtagmm@fb940000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfb940000 0x1000>,
- + <0xfb910000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU1>;
- + };
- +
- + jtag_mm2: jtagmm@fba40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfba40000 0x1000>,
- + <0xfba10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU2>;
- + };
- +
- + jtag_mm3: jtagmm@fbb40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfbb40000 0x1000>,
- + <0xfbb10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU3>;
- + };
- +
- + jtag_mm4: jtagmm@fbc40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfbc40000 0x1000>,
- + <0xfbc10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU4>;
- + };
- +
- + jtag_mm5: jtagmm@fbd40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfbd40000 0x1000>,
- + <0xfbd10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU5>;
- + };
- +
- + jtag_mm6: jtagmm@fbe40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfbe40000 0x1000>,
- + <0xfbe10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU6>;
- + };
- +
- + jtag_mm7: jtagmm@fbf40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfbf40000 0x1000>,
- + <0xfbf10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU7>;
- + };
- +
- + rpm_bus: qcom,rpm-smd {
- + compatible = "qcom,rpm-smd";
- + rpm-channel-name = "rpm_requests";
- + rpm-channel-type = <15>; /* SMD_APPS_RPM */
- + };
- +
- + qcom,msm-rng@f9bff000 {
- + compatible = "qcom,msm-rng";
- + reg = <0xf9bff000 0x200>;
- + qcom,msm-bus,name = "msm-rng-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <88 618 0 0>,
- + <88 618 0 800>;
- + qcom,msm-rng-iface-clk;
- + clocks = <&clock_gcc clk_gcc_prng_ahb_clk>;
- + clock-names = "iface_clk";
- + };
- +
- + qcom,rmtfs_sharedmem@00000000 {
- + compatible = "qcom,sharedmem-uio";
- + reg = <0x00000000 0x00180000>;
- + reg-names = "rmtfs";
- + qcom,client-id = <0x00000001>;
- + };
- +
- + qcom,dsp_sharedmem@00000000 {
- + compatible = "qcom,sharedmem-uio";
- + reg = <0x00000000 0x00010000>;
- + reg-names = "rfsa_dsp";
- + qcom,client-id = <0x011013ec>;
- + linux,contiguous-region = <&adsp_mem>;
- + };
- +
- + qcom,mdm_sharedmem@00000000 {
- + compatible = "qcom,sharedmem-uio";
- + reg = <0x00000000 0x00010000>;
- + reg-names = "rfsa_mdm";
- + qcom,client-id = <0x011013ed>;
- + };
- +
- + qcom,sensors_sharedmem@00000000 {
- + compatible = "qcom,sharedmem-uio";
- + reg = <0x00000000 0x00010000>;
- + reg-names = "rfsa_sensor";
- + qcom,client-id = <0x011013ee>;
- + linux,contiguous-region = <&adsp_mem>;
- + };
- +
- + qcom,nvbackup_sharedmem@00000000 {
- + compatible = "qcom,sharedmem-uio";
- + reg = <0x06200000 0x001000000>;
- + reg-names = "nvbackup";
- + qcom,client-id = <0x00000001>;
- + linux,contiguous-region = <&nvbackup_regions>;
- + };
- +
- + sdhc_1: sdhci@f9824900 {
- + compatible = "qcom,sdhci-msm";
- + reg = <0xf9824900 0x1a0>, <0xf9824000 0x800>;
- + reg-names = "hc_mem", "core_mem";
- +
- + interrupts = <0 123 0>, <0 138 0>;
- + interrupt-names = "hc_irq", "pwr_irq";
- +
- + qcom,bus-width = <8>;
- + qcom,cpu-dma-latency-us = <301 70>;
- + qcom,cpu-affinity = "affine_cores";
- + qcom,cpu-affinity-mask = <0x0f 0xf0>;
- + qcom,wakeup-on-idle;
- +
- + qcom,msm-bus,name = "sdhc1";
- + qcom,msm-bus,num-cases = <9>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
- + <78 512 1600 3200>, /* 400 KB/s*/
- + <78 512 80000 160000>, /* 20 MB/s */
- + <78 512 100000 200000>, /* 25 MB/s */
- + <78 512 200000 400000>, /* 50 MB/s */
- + <78 512 400000 800000>, /* 100 MB/s */
- + <78 512 400000 800000>, /* 200 MB/s */
- + <78 512 400000 800000>, /* 400 MB/s */
- + <78 512 2048000 4096000>; /* Max. bandwidth */
- + qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
- + 100000000 200000000 400000000 4294967295>;
- +
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_sdcc1_ahb_clk>,
- + <&clock_gcc clk_gcc_sdcc1_apps_clk>;
- +
- + status = "disabled";
- + };
- +
- + sdhc_2: sdhci@f98a4900 {
- + compatible = "qcom,sdhci-msm";
- + reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
- + reg-names = "hc_mem", "core_mem";
- +
- + interrupts = <0 125 0>, <0 221 0>;
- + interrupt-names = "hc_irq", "pwr_irq";
- +
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_sdcc2_ahb_clk>,
- + <&clock_gcc clk_gcc_sdcc2_apps_clk>;
- +
- + qcom,bus-width = <4>;
- + qcom,cpu-dma-latency-us = <301 70>;
- + qcom,cpu-affinity = "affine_cores";
- + qcom,cpu-affinity-mask = <0x0f 0xf0>;
- + qcom,wakeup-on-idle;
- +
- + qcom,msm-bus,name = "sdhc2";
- + qcom,msm-bus,num-cases = <8>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
- + <81 512 1600 3200>, /* 400 KB/s*/
- + <81 512 80000 160000>, /* 20 MB/s */
- + <81 512 100000 200000>, /* 25 MB/s */
- + <81 512 200000 400000>, /* 50 MB/s */
- + <81 512 400000 800000>, /* 100 MB/s */
- + <81 512 800000 800000>, /* 200 MB/s */
- + <81 512 2048000 4096000>; /* Max. bandwidth */
- + qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
- + 100000000 200000000 4294967295>;
- +
- + status = "disabled";
- + };
- +
- + sdhc_3: sdhci@f9864900 {
- + compatible = "qcom,sdhci-msm";
- + reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
- + reg-names = "hc_mem", "core_mem";
- +
- + interrupts = <0 127 0>, <0 224 0>;
- + interrupt-names = "hc_irq", "pwr_irq";
- +
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_sdcc3_ahb_clk>,
- + <&clock_gcc clk_gcc_sdcc3_apps_clk>;
- +
- + qcom,bus-width = <4>;
- + qcom,cpu-dma-latency-us = <301 70>;
- + qcom,cpu-affinity = "affine_cores";
- + qcom,cpu-affinity-mask = <0x0f 0xf0>;
- + qcom,wakeup-on-idle;
- +
- + qcom,msm-bus,name = "sdhc3";
- + qcom,msm-bus,num-cases = <8>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
- + <79 512 1600 3200>, /* 400 KB/s*/
- + <79 512 80000 160000>, /* 20 MB/s */
- + <79 512 100000 200000>, /* 25 MB/s */
- + <79 512 200000 400000>, /* 50 MB/s */
- + <79 512 400000 800000>, /* 100 MB/s */
- + <79 512 800000 800000>, /* 200 MB/s */
- + <79 512 2048000 4096000>; /* Max. bandwidth */
- + qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
- + 100000000 200000000 4294967295>;
- + qcom,dat1-mpm-int = <47>;
- + status = "disabled";
- + };
- +
- + ufs_ice: ufsice@fc5a0000 {
- + compatible = "qcom,ice";
- + reg = <0xfc5a0000 0x8000>;
- + interrupt-names = "ufs_ice_nonsec_level_irq", "ufs_ice_sec_level_irq";
- + interrupts = <0 258 0>, <0 257 0>;
- + status = "disabled";
- + };
- +
- + ufsphy1: ufsphy@fc597000 {
- + compatible = "qcom,ufs-phy-qmp-20nm";
- + reg = <0xfc597000 0xda8>;
- + reg-names = "phy_mem";
- + #phy-cells = <0>;
- + vdda-phy-supply = <&pm8994_l28>;
- + vdda-pll-supply = <&pm8994_l12>;
- + vdda-phy-max-microamp = <45000>;
- + vdda-pll-max-microamp = <100>;
- + vddp-ref-clk-supply = <&pm8994_l31>;
- + vddp-ref-clk-max-microamp = <100>;
- + vddp-ref-clk-always-on;
- + clock-names = "ref_clk_src",
- + "ref_clk",
- + "tx_iface_clk",
- + "rx_iface_clk";
- + clocks = <&clock_rpm clk_ln_bb_clk>,
- + <&clock_gcc clk_ufs_phy_ldo>,
- + <&clock_gcc clk_gcc_ufs_tx_cfg_clk>,
- + <&clock_gcc clk_gcc_ufs_rx_cfg_clk>;
- + status = "disabled";
- + };
- +
- + ufs1: ufshc@fc594000 {
- + compatible = "qcom,ufshc";
- + reg = <0xfc594000 0x2500>, <0xfd512074 0x4>;
- + interrupts = <0 265 0>;
- + phys = <&ufsphy1>;
- + phy-names = "ufsphy";
- + ufs-qcom-crypto = <&ufs_ice>;
- + vdd-hba-supply = <&gdsc_ufs>;
- + vdd-hba-fixed-regulator;
- + vcc-supply = <&pm8994_l20>;
- + vccq-supply = <&pm8994_l31>;
- + vccq2-supply = <&pm8994_s4>;
- + vcc-max-microamp = <750000>;
- + vccq-max-microamp = <50000>;
- + vccq2-max-microamp = <750000>;
- +
- + clock-names = "core_clk_src", "core_clk", "bus_clk", "iface_clk",
- + "ref_clk", "rx_lane0_sync_clk", "tx_lane0_sync_clk",
- + "rx_lane1_sync_clk", "tx_lane1_sync_clk";
- + clocks =
- + <&clock_gcc clk_ufs_axi_clk_src>,
- + <&clock_gcc clk_gcc_ufs_axi_clk>,
- + <&clock_gcc clk_gcc_sys_noc_ufs_axi_clk>,
- + <&clock_gcc clk_gcc_ufs_ahb_clk>,
- + <&clock_rpm clk_bb_clk1>,
- + <&clock_gcc clk_gcc_ufs_rx_symbol_0_clk>,
- + <&clock_gcc clk_gcc_ufs_tx_symbol_0_clk>,
- + <&clock_gcc clk_gcc_ufs_rx_symbol_1_clk>,
- + <&clock_gcc clk_gcc_ufs_tx_symbol_1_clk>;
- + qcom,msm-bus,name = "ufs1";
- + qcom,msm-bus,num-cases = <22>;
- + qcom,msm-bus,num-paths = <2>;
- + qcom,msm-bus,vectors-KBps =
- + <95 512 0 0>, <1 650 0 0>, /* No vote */
- + <95 512 922 0>, <1 650 1000 0>, /* PWM G1 */
- + <95 512 1844 0>, <1 650 1000 0>, /* PWM G2 */
- + <95 512 3688 0>, <1 650 1000 0>, /* PWM G3 */
- + <95 512 7376 0>, <1 650 1000 0>, /* PWM G4 */
- + <95 512 1844 0>, <1 650 1000 0>, /* PWM G1 L2 */
- + <95 512 3688 0>, <1 650 1000 0>, /* PWM G2 L2 */
- + <95 512 7376 0>, <1 650 1000 0>, /* PWM G3 L2 */
- + <95 512 14752 0>, <1 650 1000 0>, /* PWM G4 L2 */
- + <95 512 127796 0>, <1 650 1000 0>, /* HS G1 RA */
- + <95 512 255591 0>, <1 650 1000 0>, /* HS G2 RA */
- + <95 512 511181 0>, <1 650 1000 0>, /* HS G3 RA */
- + <95 512 255591 0>, <1 650 1000 0>, /* HS G1 RA L2 */
- + <95 512 511181 0>, <1 650 1000 0>, /* HS G2 RA L2 */
- + <95 512 1022362 0>, <1 650 1000 0>, /* HS G3 RA L2 */
- + <95 512 149422 0>, <1 650 1000 0>, /* HS G1 RB */
- + <95 512 298189 0>, <1 650 1000 0>, /* HS G2 RB */
- + <95 512 596378 0>, <1 650 1000 0>, /* HS G3 RB */
- + <95 512 298189 0>, <1 650 1000 0>, /* HS G1 RB L2 */
- + <95 512 596378 0>, <1 650 1000 0>, /* HS G2 RB L2 */
- + <95 512 1192756 0>, <1 650 1000 0>, /* HS G3 RB L2 */
- + <95 512 4096000 0>, <1 650 1000 0>; /* Max. bandwidth */
- + qcom,bus-vector-names = "MIN",
- + "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1",
- + "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2",
- + "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1",
- + "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2",
- + "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1",
- + "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2",
- + "MAX";
- +
- + qcom,cpu-affinity = "affine_cores";
- + qcom,cpu-affinity-mask = <0xf>; /* little cluster */
- + qcom,cpu-dma-latency-us = <301>;
- +
- + spm-level = <5>;
- + status = "disabled";
- + };
- +
- + spi_0: spi_epm: spi@f9923000 { /* BLSP1 QUP1 */
- + compatible = "qcom,spi-qup-v2";
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg-names = "spi_physical", "spi_bam_physical";
- + reg = <0xf9923000 0x1000>,
- + <0xf9904000 0x19000>;
- + interrupt-names = "spi_irq", "spi_bam_irq";
- + interrupts = <0 95 0>, <0 238 0>;
- + spi-max-frequency = <19200000>;
- +
- + qcom,infinite-mode = <0>;
- + qcom,use-bam;
- + qcom,ver-reg-exists;
- + qcom,bam-consumer-pipe-index = <12>;
- + qcom,bam-producer-pipe-index = <13>;
- + qcom,master-id = <86>;
- + qcom,use-pinctrl;
- + pinctrl-names = "spi_default", "spi_sleep";
- + pinctrl-0 = <&spi_0_active &spi_0_cs1_active>;
- + pinctrl-1 = <&spi_0_sleep &spi_0_cs1_sleep>;
- +
- + clock-names = "iface_clk", "core_clk";
- +
- + clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp1_qup1_spi_apps_clk>;
- + };
- +//#ifdef VENDOR_EDIT
- +/* add for fpc1021 fingerprints */
- + spi_12: spi@f9968000 {
- + compatible = "qcom,spi-qup-v2";
- + //cell-index = <12>; //changhua
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg-names = "spi_physical"/*, "spi_bam_physical"*/;
- +
- + /*Add BAM physical address
- + BLSP1: 0xf9904000
- + BLSP2: 0xf9944000
- + */
- +
- + reg = <0xf9968000 0x1000>/*,
- + <0xf9944000 0x19000>*/;
- +
- + interrupt-names = "spi12_irq"/*, "spi_bam_irq"*/;
- +
- + /* Add BAM IRQ
- + BLSP1: 238
- + BLSP2: 239 ??271??? 239 is offset
- + */
- + interrupts = <0 106 0>/*, <0 239 0>*/;
- +
- + spi-max-frequency = <4800000>;
- +
- + /* //changhua
- + qcom,gpio-mosi = <&msm_gpio 85 0>;
- + qcom,gpio-miso = <&msm_gpio 86 0>;
- + qcom,gpio-clk = <&msm_gpio 88 0>;
- + qcom,gpio-cs0 = <&msm_gpio 87 0>;
- + */
- +
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp2_qup6_spi_apps_clk>;
- +
- + qcom,master-id = <86>;
- + /*qcom,infinite-mode = <0>;
- + qcom,use-bam;
- + qcom,ver-reg-exists;
- + qcom,bam-consumer-pipe-index = <22>;
- + qcom,bam-producer-pipe-index = <23>;
- + */
- + /*lichanghua add for use pinctrl*/
- + /* Assign runtime functions to pins */
- +
- + qcom,use-pinctrl;
- + pinctrl-names = "spi_default", "spi_sleep";
- + pinctrl-0 = <&spi_12_active &spi_12_cs0_active>;
- + pinctrl-1 = <&spi_12_sleep &spi_12_cs0_sleep>;
- +
- + qcom,shared;
- +
- + /*lichanghua add for use pinctrl end*/
- + };
- +//#endif/*VENDOR_EDIT*/
- +
- + qcom,msm-ssc-sensors {
- + compatible = "qcom,msm-ssc-sensors";
- + };
- +
- + qcom,msm-pacman {
- + compatible = "qcom,msm-pacman";
- + };
- +
- + wcd9xxx_intc: wcd9xxx-irq {
- + compatible = "qcom,wcd9xxx-irq";
- + interrupt-controller;
- + #interrupt-cells = <1>;
- + interrupt-parent = <&msm_gpio>;
- + interrupts = <72 0>;
- + interrupt-names = "cdc-int";
- + pinctrl-names = "default";
- + pinctrl-0 = <&wcd_intr_default>;
- + };
- +
- + tspp: msm_tspp@f99d8000 {
- + compatible = "qcom,msm_tspp";
- + reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */
- + <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */
- + <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */
- + <0xf99c4000 0x11000>; /* MSM_TSPP_BAM_PHYS */
- + reg-names = "MSM_TSIF0_PHYS",
- + "MSM_TSIF1_PHYS",
- + "MSM_TSPP_PHYS",
- + "MSM_TSPP_BAM_PHYS";
- + interrupts = <0 121 0>, /* TSIF_TSPP_IRQ */
- + <0 119 0>, /* TSIF0_IRQ */
- + <0 120 0>, /* TSIF1_IRQ */
- + <0 122 0>; /* TSIF_BAM_IRQ */
- + interrupt-names = "TSIF_TSPP_IRQ",
- + "TSIF0_IRQ",
- + "TSIF1_IRQ",
- + "TSIF_BAM_IRQ";
- +
- + clock-names = "iface_clk", "ref_clk";
- + clocks = <&clock_gcc clk_gcc_tsif_ahb_clk>,
- + <&clock_gcc clk_gcc_tsif_ref_clk>;
- +
- + qcom,msm-bus,name = "tsif";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <82 512 0 0>, /* No vote */
- + <82 512 12288 24576>; /* Max. bandwidth, 2xTSIF, each max of 96Mbps */
- +
- + pinctrl-names = "disabled",
- + "tsif0-mode1", "tsif0-mode2",
- + "tsif1-mode1", "tsif1-mode2",
- + "dual-tsif-mode1", "dual-tsif-mode2";
- +
- + pinctrl-0 = <>; /* disabled */
- + pinctrl-1 = <&tsif0_signals_active>; /* tsif0-mode1 */
- + pinctrl-2 = <&tsif0_signals_active
- + &tsif0_sync_active>; /* tsif0-mode2 */
- + pinctrl-3 = <&tsif1_signals_active>; /* tsif1-mode1 */
- + pinctrl-4 = <&tsif1_signals_active
- + &tsif1_sync_active>; /* tsif1-mode2 */
- + pinctrl-5 = <&tsif0_signals_active
- + &tsif1_signals_active>; /* dual-tsif-mode1 */
- + pinctrl-6 = <&tsif0_signals_active
- + &tsif0_sync_active
- + &tsif1_signals_active
- + &tsif1_sync_active>; /* dual-tsif-mode2 */
- + };
- +
- + slim_msm: slim@fe12f000 {
- + cell-index = <1>;
- + compatible = "qcom,slim-ngd";
- + reg = <0xfe12f000 0x2C000>,
- + <0xfe104000 0x20000>;
- + reg-names = "slimbus_physical", "slimbus_bam_physical";
- + interrupts = <0 163 0>, <0 164 0>;
- + interrupt-names = "slimbus_irq", "slimbus_bam_irq";
- + qcom,apps-ch-pipes = <0x60000000>;
- + qcom,ea-pc = <0x110>;
- +
- + tomtom_codec {
- + compatible = "qcom,tomtom-slim-pgd";
- + elemental-addr = [00 01 30 01 17 02];
- +
- + interrupt-parent = <&wcd9xxx_intc>;
- + interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
- + 17 18 19 20 21 22 23 24 25 26 27 28 29
- + 30 31>;
- +
- + qcom,cdc-reset-gpio = <&msm_gpio 68 0>;
- +
- + cdc-vdd-buck-supply = <&pm8994_s5>;
- + qcom,cdc-vdd-buck-voltage = <1800000 2150000>;
- + qcom,cdc-vdd-buck-current = <650000>;
- +
- + cdc-vdd-tx-h-supply = <&pm8994_s4>;
- + qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>;
- + qcom,cdc-vdd-tx-h-current = <45000>;
- +
- + cdc-vdd-rx-h-supply = <&pm8994_s4>;
- + qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>;
- + qcom,cdc-vdd-rx-h-current = <45000>;
- +
- + cdc-vddpx-1-supply = <&pm8994_s4>;
- + qcom,cdc-vddpx-1-voltage = <1800000 1800000>;
- + qcom,cdc-vddpx-1-current = <10000>;
- +
- + cdc-vdd-a-1p2v-supply = <&pm8994_l11>;
- + qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>;
- + qcom,cdc-vdd-a-1p2v-current = <2000>;
- +
- + cdc-vddcx-1-supply = <&pm8994_l11>;
- + qcom,cdc-vddcx-1-voltage = <1200000 1200000>;
- + qcom,cdc-vddcx-1-current = <33000>;
- +
- + cdc-vddcx-2-supply = <&pm8994_l11>;
- + qcom,cdc-vddcx-2-voltage = <1200000 1200000>;
- + qcom,cdc-vddcx-2-current = <33000>;
- +
- + qcom,cdc-static-supplies = "cdc-vdd-buck",
- + "cdc-vdd-tx-h",
- + "cdc-vdd-rx-h",
- + "cdc-vddpx-1",
- + "cdc-vdd-a-1p2v",
- + "cdc-vddcx-1",
- + "cdc-vddcx-2";
- +
- + qcom,cdc-micbias-ldoh-v = <0x3>;
- + qcom,cdc-micbias-cfilt1-mv = <1800>;
- + //#ifdef VENDOR_EDIT
- + /*wangdongdong@MultiMedia.AudioDrv , 2015/3/24, modify micbias voltage*/
- + /*kangjirui@MultiMedia.AudioDrv , 2015/4/18, modify micbias voltage for headset button error*/
- + qcom,cdc-micbias-cfilt2-mv = <2700>;
- + //#endif /* VENDOR_EDIT */
- + qcom,cdc-micbias-cfilt3-mv = <1800>;
- + qcom,cdc-micbias1-cfilt-sel = <0x0>;
- + qcom,cdc-micbias2-cfilt-sel = <0x1>;
- + qcom,cdc-micbias3-cfilt-sel = <0x2>;
- + qcom,cdc-micbias4-cfilt-sel = <0x2>;
- + qcom,cdc-mclk-clk-rate = <9600000>;
- + qcom,cdc-slim-ifd = "tomtom-slim-ifd";
- + qcom,cdc-slim-ifd-elemental-addr = [00 00 30 01 17 02];
- + qcom,cdc-dmic-sample-rate = <4800000>;
- + qcom,cdc-mad-dmic-rate = <600000>;
- + qcom,cdc-variant = "WCD9330";
- + qcom,cdc-spkdrv-ocp-curr-limit-mA = <2625>;
- + };
- + };
- +
- + spmi_bus: qcom,spmi@fc4c0000 {
- + compatible = "qcom,spmi-pmic-arb";
- + reg-names = "core", "intr", "cnfg";
- + reg = <0xfc4cf000 0x1000>,
- + <0xfc4cb000 0x1000>,
- + <0xfc4ca000 0x1000>;
- + /* 190,ee0_krait_hlos_spmi_periph_irq */
- + /* 187,channel_0_krait_hlos_trans_done_irq */
- + interrupts = <0 190 0>, <0 187 0>;
- + qcom,pmic-arb-channel = <0>;
- + qcom,pmic-arb-ee = <0>;
- + #interrupt-cells = <3>;
- + interrupt-controller;
- + #address-cells = <1>;
- + #size-cells = <0>;
- + cell-index = <0>;
- + };
- +
- + usb3: ssusb@f9200000 {
- + compatible = "qcom,dwc-usb3-msm";
- + status = "disabled";
- + reg = <0xf9200000 0xfc000>,
- + <0xfd4ab000 0x4>;
- + #address-cells = <1>;
- + #size-cells = <1>;
- + ranges;
- +
- + interrupt-parent = <&usb3>;
- + interrupts = <0 1>;
- + #interrupt-cells = <1>;
- + interrupt-map-mask = <0x0 0xffffffff>;
- + interrupt-map = <0x0 0 &intc 0 133 0
- + 0x0 1 &intc 0 180 0
- + 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>;
- + interrupt-names = "hs_phy_irq", "pwr_event_irq", "pmic_id_irq";
- +
- + USB3_GDSC-supply = <&gdsc_usb30>;
- + vdda33-supply = <&pm8994_l24>;
- + vbus_dwc3-supply = <&smbcharger_charger_otg>;
- + qcom,dwc-usb3-msm-tx-fifo-size = <29696>;
- + qcom,dwc-usb3-msm-qdss-tx-fifo-size = <8192>;
- + qcom,usb-dbm = <&dbm_1p5>;
- +
- + qcom,msm-bus,name = "usb3";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <61 512 0 0>,
- + <61 512 240000 960000>;
- +
- + qcom,power-collapse-on-cable-disconnect;
- + qcom,por-after-power-collapse;
- +
- + clocks = <&clock_gcc clk_gcc_usb30_master_clk>,
- + <&clock_gcc clk_gcc_sys_noc_usb3_axi_clk>,
- + <&clock_gcc clk_gcc_usb30_mock_utmi_clk>,
- + <&clock_gcc clk_gcc_usb30_sleep_clk>,
- + <&clock_rpm clk_ln_bb_clk>,
- + <&clock_rpm clk_cxo_dwc3_clk>;
- + clock-names = "core_clk", "iface_clk", "utmi_clk", "sleep_clk",
- + "ref_clk", "xo";
- +
- + dwc3@f9200000 {
- + compatible = "synopsys,dwc3";
- + reg = <0xf9200000 0xfc000>;
- + interrupt-parent = <&intc>;
- + interrupts = <0 131 0>;
- + tx-fifo-resize;
- + snps,usb3-u1u2-disable;
- + usb-phy = <&hsphy0>, <&ssphy0>;
- + };
- + };
- +
- + hsphy0: hsphy@f92f8800 {
- + compatible = "qcom,usb-hsphy";
- + status = "disabled";
- + reg = <0xf92f8800 0x3ff>,
- + <0xf9b3a000 0x110>;
- + reg-names = "core", "phy_csr";
- + // #ifdef VENDOR_EDIT
- + /*modify by jiachenghui from 0x00D191A4 to 0x00D191A7 for OTG 2015-04-22*/
- + /*change HS DC voltage-level to 0x0011 by jiachenghui for OTG detect issue 2015-05-23*/
- + qcom,hsphy-init = <0x00D187A7>;
- + //#endif /*VENDOR_EDIT*/
- + vdd-supply = <&pm8994_s2_corner>;
- + vddcx-supply = <&pm8994_s1_corner>;
- + vdda18-supply = <&pm8994_l6>;
- + vdda33-supply = <&pm8994_l24>;
- + qcom,vdd-voltage-level = <1 5 7>;
- + qcom,ext-vbus-id;
- + qcom,vbus-valid-override;
- + qcom,set-pllbtune;
- + qcom,sleep-clk-reset;
- + qcom,vdda-force-on;
- + clocks = <&clock_gcc clk_gcc_usb2_hs_phy_sleep_clk>;
- + clock-names = "phy_sleep_clk";
- + };
- +
- + ssphy0: ssphy@f9b38000 {
- + compatible = "qcom,usb-ssphy-qmp";
- + status = "disabled";
- + reg = <0xf9b38000 0x800>,
- + <0xf9b3e000 0x3ff>;
- + reg-names = "qmp_phy_base",
- + "qmp_ahb2phy_base";
- + vdd-supply = <&pm8994_l28>;
- + vdda18-supply = <&pm8994_l6>;
- + qcom,vdd-voltage-level = <0 1000000 1000000>;
- + qcom,vbus-valid-override;
- + qcom,no-pipe-clk-switch;
- +
- + clocks = <&clock_gcc clk_gcc_usb3_phy_aux_clk>,
- + <&clock_gcc clk_gcc_usb3_phy_pipe_clk>,
- + <&clock_gcc clk_gcc_usb_phy_cfg_ahb2phy_clk>,
- + <&clock_gcc clk_gcc_usb3_phy_reset>,
- + <&clock_gcc clk_gcc_usb3phy_phy_reset>,
- + <&clock_gcc clk_usb_ss_phy_ldo>;
- + clock-names = "aux_clk", "pipe_clk", "cfg_ahb_clk", "phy_reset",
- + "phy_phy_reset", "ldo_clk";
- + };
- +
- + dbm_1p5: dbm@f92f8000 {
- + compatible = "qcom,usb-dbm-1p5";
- + reg = <0xf92f8000 0x1000>;
- + qcom,reset-ep-after-lpm-resume;
- + };
- +
- + qcom,usbbam@f9304000 {
- + compatible = "qcom,usb-bam-msm";
- + reg = <0xf9304000 0x9000>,
- + <0xf92f880c 0x4>;
- + reg-names = "ssusb", "qscratch_ram1_reg";
- + interrupts = <0 132 0>;
- + interrupt-names = "ssusb";
- + clocks = <&clock_gcc clk_gcc_usb30_master_clk>,
- + <&clock_gcc clk_gcc_sys_noc_usb3_axi_clk>;
- + clock-names = "mem_clk", "mem_iface_clk";
- +
- + qcom,usb-bam-fifo-baseaddr = <0xf9200000>;
- + qcom,usb-bam-num-pipes = <16>;
- + qcom,ignore-core-reset-ack;
- + qcom,disable-clk-gating;
- + qcom,usb-bam-override-threshold = <0x4001>;
- + qcom,usb-bam-max-mbps-highspeed = <400>;
- + qcom,usb-bam-max-mbps-superspeed = <3600>;
- +
- + qcom,pipe0 {
- + label = "ssusb-ipa-out-0";
- + qcom,usb-bam-mem-type = <2>;
- + qcom,bam-type = <0>;
- + qcom,dir = <0>;
- + qcom,pipe-num = <0>;
- + qcom,peer-bam = <2>;
- + qcom,src-bam-physical-address = <0xf9304000>;
- + qcom,src-bam-pipe-index = <1>;
- + qcom,data-fifo-size = <0x8000>;
- + qcom,descriptor-fifo-size = <0x2000>;
- + qcom,reset-bam-on-connect;
- + };
- + qcom,pipe1 {
- + label = "ssusb-ipa-in-0";
- + qcom,usb-bam-mem-type = <2>;
- + qcom,bam-type = <0>;
- + qcom,dir = <1>;
- + qcom,pipe-num = <0>;
- + qcom,peer-bam = <2>;
- + qcom,dst-bam-physical-address = <0xf9304000>;
- + qcom,dst-bam-pipe-index = <0>;
- + qcom,data-fifo-size = <0x8000>;
- + qcom,descriptor-fifo-size = <0x2000>;
- + qcom,reset-bam-on-connect;
- + };
- + qcom,pipe2 {
- + label = "ssusb-qdss-in-0";
- + qcom,usb-bam-mem-type = <1>;
- + qcom,bam-type = <0>;
- + qcom,dir = <1>;
- + qcom,pipe-num = <0>;
- + qcom,peer-bam = <1>;
- + qcom,src-bam-physical-address = <0xfc37C000>;
- + qcom,src-bam-pipe-index = <0>;
- + qcom,dst-bam-physical-address = <0xf9304000>;
- + qcom,dst-bam-pipe-index = <2>;
- + qcom,data-fifo-offset = <0xf0000>;
- + qcom,data-fifo-size = <0x1800>;
- + qcom,descriptor-fifo-offset = <0xf4000>;
- + qcom,descriptor-fifo-size = <0x1400>;
- + qcom,reset-bam-on-connect;
- + };
- +
- + /* USB BAM pipe (consumer) configuration for accelerated DPL */
- + qcom,pipe3 {
- + label = "ssusb-dpl-ipa-in-1";
- + qcom,usb-bam-mem-type = <2>;
- + qcom,bam-type = <0>;
- + qcom,dir = <1>;
- + qcom,pipe-num = <1>;
- + qcom,peer-bam = <2>;
- + qcom,dst-bam-physical-address = <0xf9304000>;
- + qcom,dst-bam-pipe-index = <2>;
- + qcom,data-fifo-size = <0x8000>;
- + qcom,descriptor-fifo-size = <0x2000>;
- + qcom,reset-bam-on-connect;
- + };
- + };
- +
- + usb_otg: usb@f9a55000 {
- + compatible = "qcom,hsusb-otg";
- + status = "disabled";
- +
- + reg = <0xf9a55000 0x400>;
- + reg-names = "core";
- + interrupts = <0 134 0 0 140 0>;
- + interrupt-names = "core_irq", "async_irq";
- +
- + HSUSB_VDDCX-supply = <&pm8994_s2_corner>;
- + HSUSB_1p8-supply = <&pm8994_l6>;
- + HSUSB_3p3-supply = <&pm8994_l24>;
- + qcom,vdd-voltage-level = <1 5 7>;
- +
- + clocks = <&clock_gcc clk_gcc_usb_hs_system_clk>,
- + <&clock_gcc clk_gcc_usb_hs_ahb_clk>,
- + <&clock_gcc clk_gcc_usb2_hs_phy_sleep_clk>,
- + <&clock_rpm clk_cxo_otg_clk>;
- + clock-names = "core_clk", "iface_clk", "sleep_clk", "xo";
- +
- + qcom,hsusb-otg-phy-type = <2>;
- + qcom,hsusb-otg-phy-init-seq = <0x63 0x81 0xffffffff>;
- + qcom,hsusb-otg-mode = <1>;
- + qcom,hsusb-otg-otg-control = <1>;
- + };
- +
- + usb_ehci: ehci@f9a55000 {
- + compatible = "qcom,ehci-host";
- + status = "disabled";
- + reg = <0xf9a55000 0x400>;
- + interrupts = <0 134 0>, <0 140 0>;
- + interrupt-names = "core_irq", "async_irq";
- + hsusb_vdd_dig-supply = <&pm8994_s2_corner>;
- + HSUSB_1p8-supply = <&pm8994_l6>;
- + HSUSB_3p3-supply = <&pm8994_l24>;
- + qcom,vdd-voltage-level = <1 2 3 5 7>;
- + qcom,usb2-power-budget = <500>;
- + usb-phy = <&qusb_phy>;
- + qcom,pm-qos-latency = <30001>;
- +
- + qcom,msm-bus,name = "usb-hs";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <87 512 0 0>,
- + <87 512 40000 60000>;
- +
- + clocks = <&clock_gcc clk_gcc_usb_hs_system_clk>,
- + <&clock_gcc clk_gcc_usb_hs_ahb_clk>,
- + <&clock_rpm clk_cxo_otg_clk>;
- + clock-names = "core_clk", "iface_clk", "xo";
- + };
- +
- + qusb_phy: qusb@f9b39000 {
- + compatible = "qcom,qusb2phy";
- + status = "disabled";
- + reg = <0xf9b39000 0x17f>;
- + reg-names = "qusb_phy_base";
- + vdd-supply = <&pm8994_s2_corner>;
- + vdda18-supply = <&pm8994_l6>;
- + vdda33-supply = <&pm8994_l24>;
- + qcom,vdd-voltage-level = <1 5 7>;
- + qcom,qusb-tune = <0xa08391d5>;
- + phy_type = "ulpi";
- + clocks = <&clock_rpm clk_ln_bb_clk>,
- + <&clock_gcc clk_gcc_usb_phy_cfg_ahb2phy_clk>,
- + <&clock_gcc clk_gcc_qusb2_phy_reset>;
- + clock-names = "ref_clk", "cfg_ahb_clk", "phy_reset";
- + };
- +
- + android_usb@fe87f0c8 {
- + compatible = "qcom,android-usb";
- + reg = <0xfe87f0c8 0xc8>;
- + qcom,pm-qos-latency = <61 637 1261>;
- + /*add by jiachenghui for cdrom,20150528*/
- + /*#ifdef VENDOR_EDIT*/
- + qcom,android-usb-cdrom;
- + /*#ifdef VENDOR_EDIT*/
- + /*end add by jiachenghui for cdrom,20150528*/
- + };
- +
- + qcom,venus@fdce0000 {
- + compatible = "qcom,pil-tz-generic";
- + reg = <0xfdce0000 0x4000>;
- +
- + vdd-supply = <&gdsc_venus>;
- + qcom,proxy-reg-names = "vdd";
- + clock-names = "core_clk", "iface_clk",
- + "bus_clk", "mem_clk", "scm_ce1_clk";
- + qcom,proxy-clock-names = "core_clk", "iface_clk",
- + "bus_clk", "mem_clk", "scm_ce1_clk";
- + qcom,scm_ce1_clk-freq = <85710000>;
- +
- + clocks = <&clock_mmss clk_venus0_vcodec0_clk>,
- + <&clock_mmss clk_venus0_ahb_clk>,
- + <&clock_mmss clk_venus0_axi_clk>,
- + <&clock_mmss clk_venus0_ocmemnoc_clk>,
- + <&clock_rpm clk_scm_ce1_clk>;
- +
- + qcom,msm-bus,name = "pil-venus";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 0 304000>;
- + qcom,pas-id = <9>;
- + qcom,proxy-timeout-ms = <100>;
- + qcom,firmware-name = "venus";
- + linux,contiguous-region = <&peripheral_mem>;
- + };
- +
- + qcom,mss@fc880000 {
- + compatible = "qcom,pil-q6v55-mss";
- + reg = <0xfc880000 0x100>,
- + <0xfd485000 0x400>,
- + <0xfc820000 0x020>,
- + <0xfc401680 0x004>;
- + reg-names = "qdsp6_base", "halt_base", "rmb_base",
- + "restart_reg";
- +
- + clocks = <&clock_rpm clk_cxo_clk_src>,
- + <&clock_rpm clk_mss_cfg_ahb_clk>,
- + <&clock_rpm clk_pnoc_modem_clk>,
- + <&clock_gcc clk_gcc_mss_q6_bimc_axi_clk>,
- + <&clock_gcc clk_gcc_boot_rom_ahb_clk>,
- + <&clock_gcc clk_gpll0_out_msscc>;
- + clock-names = "xo", "iface_clk", "pnoc_clk", "bus_clk",
- + "mem_clk", "gpll0_mss_clk";
- + qcom,proxy-clock-names = "xo", "pnoc_clk";
- + qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk",
- + "gpll0_mss_clk";
- +
- + interrupts = <0 24 1>;
- + vdd_mss-supply = <&pm8994_s7>;
- + vdd_cx-supply = <&pm8994_s1_corner>;
- + vdd_mx-supply = <&pm8994_s2_corner>;
- + vdd_mx-uV = <7>;
- + vdd_pll-supply = <&pm8994_l12>;
- + qcom,vdd_pll = <1800000>;
- + qcom,firmware-name = "modem";
- + qcom,pil-self-auth;
- + qcom,mba-image-is-not-elf;
- + qcom,sysmon-id = <0>;
- + qcom,ssctl-instance-id = <0x12>;
- + qcom,override-acc;
- + qcom,ahb-clk-vote;
- + qcom,pnoc-clk-vote;
- +
- + /* GPIO inputs from mss */
- + qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
- + qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
- + qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
- + qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
- +
- + /* GPIO output to mss */
- + qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
- +
- + linux,contiguous-region = <&modem_mem>;
- + };
- +
- + qcom,lpass@fe200000 {
- + compatible = "qcom,pil-tz-generic";
- + reg = <0xfe200000 0x00100>;
- + interrupts = <0 162 1>;
- +
- + vdd_cx-supply = <&pm8994_s1_corner>;
- + qcom,proxy-reg-names = "vdd_cx";
- + qcom,vdd_cx-uV-uA = <7 100000>;
- +
- + clocks = <&clock_rpm clk_cxo_pil_lpass_clk>,
- + <&clock_rpm clk_scm_ce1_clk>;
- + clock-names = "xo", "scm_ce1_clk";
- + qcom,proxy-clock-names = "xo", "scm_ce1_clk";
- + qcom,scm_ce1_clk-freq = <85710000>;
- +
- + qcom,pas-id = <1>;
- + qcom,proxy-timeout-ms = <10000>;
- + qcom,smem-id = <423>;
- + qcom,sysmon-id = <1>;
- + qcom,ssctl-instance-id = <0x14>;
- + qcom,firmware-name = "adsp";
- +
- + /* GPIO inputs from lpass */
- + qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
- + qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
- + qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
- + qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;
- +
- + /* GPIO output to lpass */
- + qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
- +
- + linux,contiguous-region = <&peripheral_mem>;
- + };
- +
- +/* #ifdef VENDOR_EDIT // add by xcb for ramoops 2015-03-31 */
- + ramoops {
- + compatible = "ramoops";
- + /*reg = <0x05800000 0x00100000>;*/
- + linux,contiguous-region = <&ramoops_mem>;
- + };
- +/* #endif VENDOR_EDIT */
- +
- +
- + clock_rpm: qcom,rpmcc@fc401880 {
- + compatible = "qcom,rpmcc-8994";
- + reg = <0xfc401880 0x4>;
- + reg-names = "cc_base";
- + #clock-cells = <1>;
- + };
- +
- + clock_gcc: qcom,gcc@fc400000 {
- + compatible = "qcom,gcc-8994";
- + reg = <0xfc400000 0x2000>;
- + reg-names = "cc_base";
- + vdd_dig-supply = <&pm8994_s1_corner>;
- + clock-names = "xo", "xo_a_clk";
- + clocks = <&clock_rpm clk_cxo_clk_src>,
- + <&clock_rpm clk_cxo_clk_src_ao>;
- + #clock-cells = <1>;
- + };
- +
- + clock_mmss: qcom,mmsscc@fd8c0000 {
- + compatible = "qcom,mmsscc-8994";
- + reg = <0xfd8c0000 0x5200>;
- + reg-names = "cc_base";
- + vdd_dig-supply = <&pm8994_s1_corner>;
- + mmpll4_dig-supply = <&pm8994_s1_corner>;
- + mmpll4_analog-supply = <&pm8994_l12>;
- + clock-names = "xo", "gpll0", "mmssnoc_ahb",
- + "oxili_gfx3d_clk", "pclk0_src", "pclk1_src",
- + "byte0_src", "byte1_src", "extpclk_src";
- + clocks = <&clock_rpm clk_cxo_clk_src>,
- + <&clock_gcc clk_gpll0_out_mmsscc>,
- + <&clock_rpm clk_mmssnoc_ahb_clk>,
- + <&clock_rpm clk_oxili_gfx3d_clk_src>,
- + <&mdss_dsi0_pll clk_mdss_pixel_clk_mux>,
- + <&mdss_dsi0_pll clk_mdss_pixel_clk_mux>,
- + <&mdss_dsi0_pll clk_mdss_byte_clk_mux>,
- + <&mdss_dsi0_pll clk_mdss_byte_clk_mux>,
- + <&mdss_hdmi_pll clk_hdmi_20nm_vco_clk>;
- + #clock-cells = <1>;
- + };
- +
- + clock_debug: qcom,cc-debug@fc401880 {
- + compatible = "qcom,cc-debug-8994";
- + reg = <0xfc401880 0x4>;
- + reg-names = "cc_base";
- + clock-names = "debug_mmss_clk", "debug_rpm_clk",
- + "debug_cpu_clk";
- + clocks = <&clock_mmss clk_mmss_debug_mux>,
- + <&clock_rpm clk_rpm_debug_mux>,
- + <&clock_cpu clk_cpu_debug_mux>;
- + #clock-cells = <1>;
- + };
- +
- + cci_cache: qcom,cci {
- + compatible = "devfreq-simple-dev";
- + clock-names = "devfreq_clk";
- + clocks = <&clock_cpu clk_cci_clk>;
- + governor = "cpufreq";
- + freq-tbl-khz =
- + < 150000 >,
- + < 200000 >,
- + < 249600 >,
- + < 300000 >,
- + < 384000 >,
- + < 499200 >,
- + < 600000 >;
- + };
- +
- + cpubw: qcom,cpubw {
- + compatible = "qcom,devbw";
- + governor = "cpufreq";
- + qcom,src-dst-ports = <1 512>;
- + qcom,active-only;
- + qcom,bw-tbl =
- + < 1525 /* 200 MHz */ >,
- + < 2288 /* 300 MHz */ >,
- + < 3509 /* 460 MHz */ >,
- + < 4066 /* 533 MHz */ >,
- + < 5126 /* 672 MHz */ >,
- + < 5928 /* 777 MHz */ >,
- + < 7904 /* 1036 MHz */ >,
- + < 9887 /* 1296 MHz */ >,
- + < 11863 /* 1555 MHz */ >;
- + };
- +
- + qcom,cpu-bwmon {
- + compatible = "qcom,bimc-bwmon";
- + reg = <0xfc388000 0x300>, <0xfc381000 0x200>;
- + reg-names = "base", "global_base";
- + interrupts = <0 183 4>;
- + qcom,mport = <0>;
- + qcom,target-dev = <&cpubw>;
- + };
- +
- + mincpubw: qcom,mincpubw {
- + compatible = "qcom,devbw";
- + governor = "powersave";
- + qcom,src-dst-ports = <1 512>;
- + qcom,active-only;
- + qcom,bw-tbl =
- + < 1525 /* 200 MHz */ >,
- + < 2288 /* 300 MHz */ >,
- + < 3509 /* 460 MHz */ >,
- + < 4066 /* 533 MHz */ >,
- + < 5126 /* 672 MHz */ >,
- + < 5928 /* 777 MHz */ >,
- + < 7904 /* 1036 MHz */ >,
- + < 9887 /* 1296 MHz */ >,
- + < 11863 /* 1555 MHz */ >;
- + };
- +
- + devfreq_cpufreq: devfreq-cpufreq {
- + cpubw-cpufreq {
- + target-dev = <&cpubw>;
- + cpu-to-dev-map-0 =
- + < 199200 1525 >,
- + < 302400 1525 >,
- + < 384000 1525 >,
- + < 600000 1525 >,
- + < 691200 2288 >,
- + < 768000 3562 >,
- + < 844800 4066 >,
- + < 921600 5126 >,
- + < 940800 6072 >;
- + cpu-to-dev-map-4 =
- + < 199200 1525 >,
- + < 302400 1525 >,
- + < 384000 1525 >,
- + < 600000 2288 >,
- + < 691200 3562 >,
- + < 768000 4066 >,
- + < 844800 5126 >,
- + < 921600 6072 >;
- + };
- +
- + mincpubw-cpufreq {
- + target-dev = <&mincpubw>;
- + cpu-to-dev-map-0 =
- + < 199200 1525 >,
- + < 302400 1525 >,
- + < 384000 2288 >,
- + < 600000 3509 >,
- + < 691200 4066 >,
- + < 768000 5126 >,
- + < 844800 5928 >,
- + < 921600 5928 >,
- + < 940800 5928 >;
- + cpu-to-dev-map-4 =
- + < 199200 1525 >,
- + < 302400 1525 >,
- + < 384000 2288 >,
- + < 600000 3509 >,
- + < 691200 4066 >,
- + < 768000 5126 >,
- + < 844800 5928 >,
- + < 921600 5928 >;
- + };
- +
- + cci-cpufreq {
- + target-dev = <&cci_cache>;
- + cpu-to-dev-map-0 =
- + < 199200 150000 >,
- + < 302400 200000 >,
- + < 384000 249600 >,
- + < 600000 300000 >,
- + < 691200 384000 >,
- + < 768000 384000 >,
- + < 844800 499200 >,
- + < 921600 600000 >,
- + < 940800 600000 >;
- + cpu-to-dev-map-4 =
- + < 199200 150000 >,
- + < 302400 200000 >,
- + < 384000 249600 >,
- + < 600000 300000 >,
- + < 691200 384000 >,
- + < 768000 499200 >,
- + < 844800 600000 >,
- + < 921600 600000 >;
- + };
- + };
- +
- + msm_cpufreq: qcom,msm-cpufreq {
- + compatible = "qcom,msm-cpufreq";
- + clock-names = "l2_clk", "cpu0_clk", "cpu1_clk", "cpu2_clk",
- + "cpu3_clk", "cpu4_clk", "cpu5_clk",
- + "cpu6_clk", "cpu7_clk";
- + clocks = <&clock_cpu clk_cci_clk>,
- + <&clock_cpu clk_a53_clk>,
- + <&clock_cpu clk_a53_clk>,
- + <&clock_cpu clk_a53_clk>,
- + <&clock_cpu clk_a53_clk>,
- + <&clock_cpu clk_a57_clk>,
- + <&clock_cpu clk_a57_clk>,
- + <&clock_cpu clk_a57_clk>,
- + <&clock_cpu clk_a57_clk>;
- +
- + qcom,governor-per-policy;
- +
- + qcom,cpufreq-table-0 =
- + < 199200 >,
- + < 302400 >,
- + < 384000 >,
- + < 600000 >,
- + < 691200 >,
- + < 768000 >,
- + < 844800 >,
- + < 921600 >,
- + < 940800 >;
- +
- + qcom,cpufreq-table-4 =
- + < 199200 >,
- + < 302400 >,
- + < 384000 >,
- + < 600000 >,
- + < 691200 >,
- + < 768000 >,
- + < 844800 >,
- + < 921600 >;
- + };
- +
- + clock_cpu: qcom,cpu-clock-8994@f9015000 {
- + compatible = "qcom,cpu-clock-8994";
- + reg = <0xf9015000 0x1000>,
- + <0xf9016000 0x1000>,
- + <0xf9011000 0x1000>,
- + <0xf900d000 0x1000>,
- + <0xf900f000 0x1000>,
- + <0xf9112000 0x1000>,
- + <0xfc4b80b0 0x8>;
- + reg-names = "c0_pll", "c1_pll", "cci_pll", "c0_mux", "c1_mux", "cci_mux", "efuse";
- + vdd-a53-supply = <&apc0_vreg_corner>;
- + vdd-a57-supply = <&apc1_vreg_corner>;
- + vdd-cci-supply = <&apc0_vreg_corner>;
- + vdd-dig-supply = <&pm8994_s1_corner_ao>;
- + qcom,a53-speedbin0-v0 =
- + < 0 0>,
- + < 199200000 1>,
- + < 302400000 2>,
- + < 384000000 3>,
- + < 600000000 4>,
- + < 691200000 5>,
- + < 768000000 6>,
- + < 844800000 7>,
- + < 921600000 8>,
- + < 940800000 9>;
- + qcom,a57-speedbin0-v0 =
- + < 0 0>,
- + < 199200000 1>,
- + < 302400000 2>,
- + < 384000000 3>,
- + < 600000000 4>,
- + < 691200000 5>,
- + < 768000000 6>,
- + < 844800000 7>,
- + < 921600000 8>;
- + qcom,cci-speedbin0-v0 =
- + < 0 0>,
- + < 150000000 1>,
- + < 200000000 2>,
- + < 249600000 3>,
- + < 300000000 4>,
- + < 384000000 4>,
- + < 499200000 7>,
- + < 600000000 9>;
- + clock-names = "xo_ao", "aux_clk";
- + clocks = <&clock_rpm clk_cxo_clk_src_ao>,
- + <&clock_gcc clk_gpll0_ao>;
- + #clock-cells = <1>;
- + };
- +
- + ocmem: qcom,ocmem@fdd00000 {
- + compatible = "qcom,msm-ocmem";
- + reg = <0xfdd00000 0x2000>,
- + <0xfdd02000 0x2000>,
- + <0xfe039000 0x400>,
- + <0xfec00000 0x200000>;
- + reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
- + interrupts = <0 76 0 0 77 0>;
- + interrupt-names = "ocmem_irq", "dm_irq";
- + qcom,ocmem-num-regions = <0x4>;
- + qcom,ocmem-num-macros = <0x20>;
- + qcom,resource-type = <0x706d636f>;
- + #address-cells = <1>;
- + #size-cells = <1>;
- + ranges = <0x0 0xfec00000 0x200000>;
- + clocks = <&clock_rpm clk_ocmemgx_core_clk>,
- + <&clock_mmss clk_ocmemcx_ocmemnoc_clk>;
- + clock-names = "core_clk", "iface_clk";
- +
- + partition@0 {
- + reg = <0x0 0x180000>;
- + qcom,ocmem-part-name = "graphics";
- + qcom,ocmem-part-min = <0x80000>;
- + };
- +
- + partition@100000 {
- + reg = <0x180000 0x80000>;
- + qcom,ocmem-part-name = "video";
- + qcom,ocmem-part-min = <0x55000>;
- + };
- +
- + };
- +
- + msm_vidc: qcom,vidc@fdc00000 {
- + compatible = "qcom,msm-vidc";
- + reg = <0xfdc00000 0xff000>;
- + interrupts = <0 44 0>;
- + qcom,hfi = "venus";
- + qcom,reg-presets = <0x800D8 0x707>,
- + <0xe0020 0x55555556>,
- + <0xe0024 0x55555556>,
- + <0x80124 0x3>;
- + qcom,qdss-presets = <0xfc325000 0x1000>,
- + <0xfc326000 0x1000>,
- + <0xfc321000 0x1000>,
- + <0xfc322000 0x1000>,
- + <0xfc323000 0x1000>,
- + <0xfc302000 0x1000>,
- + <0xfa180000 0x1000>,
- + <0xfa181000 0x1000>;
- + qcom,ocmem-size = <524288>; /* 512 * 1024*/
- + qcom,max-hw-load = <1281600>; /* Full 4k @ 30 + 1080p @ 30 */
- + clock-names = "core_clk", "core0_clk", "core1_clk", "core2_clk",
- + "iface_clk", "bus_clk", "mem_clk";
- + venus-supply = <&gdsc_venus>;
- + venus-core0-supply = <&gdsc_venus_core0>;
- + venus-core1-supply = <&gdsc_venus_core1>;
- + venus-core2-supply = <&gdsc_venus_core2>;
- + qcom,clock-configs = <0x3 0x0 0x0 0x0 0x0 0x0 0x0>;
- + qcom,sw-power-collapse;
- + clocks = <&clock_mmss clk_venus0_vcodec0_clk>,
- + <&clock_mmss clk_venus0_core0_vcodec_clk>,
- + <&clock_mmss clk_venus0_core1_vcodec_clk>,
- + <&clock_mmss clk_venus0_core2_vcodec_clk>,
- + <&clock_mmss clk_venus0_ahb_clk>,
- + <&clock_mmss clk_venus0_axi_clk>,
- + <&clock_mmss clk_venus0_ocmemnoc_clk>;
- + qcom,load-freq-tbl =
- + <979200 465000000 0x0c000000>,
- + <979200 465000000 0x01000414>,
- + <979200 465000000 0x030fcfff>,
- + <979200 465000000 0x04000000>,
- + <783360 465000000 0x0c000000>,
- + <783360 465000000 0x01000414>,
- + <783360 465000000 0x030fcfff>,
- + <783360 465000000 0x04000000>,
- + <489600 240000000 0x0c000000>,
- + <489600 240000000 0x01000414>,
- + <489600 240000000 0x030fcfff>,
- + <489600 240000000 0x04000000>,
- + <244800 133330000 0x0c000000>,
- + <244800 133330000 0x01000414>,
- + <244800 133330000 0x030fcfff>,
- + <244800 133330000 0x04000000>;
- + qcom,vidc-iommu-domains {
- + qcom,domain-ns {
- + qcom,vidc-domain-phandle = <&venus_domain_ns>;
- + qcom,vidc-partition-buffer-types = <0x7ff>,
- + <0x800>;
- + };
- + qcom,domain-sec-bs {
- + qcom,vidc-domain-phandle = <&venus_domain_sec_bitstream>;
- + qcom,vidc-partition-buffer-types = <0x241>;
- + };
- + qcom,domain-sec-px {
- + qcom,vidc-domain-phandle = <&venus_domain_sec_pixel>;
- + qcom,vidc-partition-buffer-types = <0x106>;
- + };
- + qcom,domain-sec-np {
- + qcom,vidc-domain-phandle = <&venus_domain_sec_non_pixel>;
- + qcom,vidc-partition-buffer-types = <0x480>;
- + };
- + };
- + qcom,msm-bus-clients {
- + qcom,msm-bus-client@0 {
- + qcom,msm-bus,name = "venc-core1-ddr";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 66800 0>,
- + <63 512 201100 0>,
- + <63 512 201100 0>,
- + <63 512 458300 0>,
- + <63 512 458300 0>,
- + <63 512 889200 0>,
- + <63 512 889200 0>,
- + <63 512 2108700 0>,
- + <63 512 2243700 0>,
- + <63 512 2615000 0>;
- + qcom,bus-configs = <0x1000414>;
- + };
- +
- + qcom,msm-bus-client@1 {
- + qcom,msm-bus,name = "vdec-core0-ddr";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 151600 0>,
- + <63 512 393600 0>,
- + <63 512 393600 0>,
- + <63 512 749100 0>,
- + <63 512 749100 0>,
- + <63 512 1460700 0>,
- + <63 512 1460700 0>,
- + <63 512 2390500 0>,
- + <63 512 2542300 0>,
- + <63 512 2959800 0>;
- + qcom,bus-configs = <0xc000000>;
- + };
- +
- + qcom,msm-bus-client@2 {
- + qcom,msm-bus,name = "vdec-core1-ddr";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 113900 0>,
- + <63 512 296700 0>,
- + <63 512 296700 0>,
- + <63 512 571400 0>,
- + <63 512 571400 0>,
- + <63 512 1088500 0>,
- + <63 512 1088500 0>,
- + <63 512 1811000 0>,
- + <63 512 1962000 0>,
- + <63 512 2242900 0>;
- + qcom,bus-configs = <0x30fcfff>;
- + };
- +
- + qcom,msm-bus-client@3 {
- + qcom,msm-bus,name = "venc-core2-ddr";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 89000 0>,
- + <63 512 270000 0>,
- + <63 512 270000 0>,
- + <63 512 759000 0>,
- + <63 512 759000 0>,
- + <63 512 1050000 0>,
- + <63 512 1050000 0>,
- + <63 512 3077000 0>,
- + <63 512 3811000 0>,
- + <63 512 3812000 0>;
- + qcom,bus-configs = <0x04000000>;
- + };
- + qcom,msm-bus-client@4 {
- + qcom,msm-bus,name = "venc-core1-ocmem";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <68 604 0 0>,
- + <68 604 69000 2384000>,
- + <68 604 207000 2384000>,
- + <68 604 207000 2384000>,
- + <68 604 470000 2384000>,
- + <68 604 470000 2384000>,
- + <68 604 940000 3632000>,
- + <68 604 940000 3632000>,
- + <68 604 1787000 3632000>,
- + <68 604 1906000 3632000>,
- + <68 604 2234000 3632000>;
- + qcom,bus-configs = <0x10000414>;
- + };
- + qcom,msm-bus-client@5 {
- + qcom,msm-bus,name = "venc-core2-ocmem";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <68 604 0 0>,
- + <68 604 71000 2384000>,
- + <68 604 214000 2384000>,
- + <68 604 214000 2384000>,
- + <68 604 564000 2384000>,
- + <68 604 564000 2384000>,
- + <68 604 1003000 3632000>,
- + <68 604 1003000 3632000>,
- + <68 604 2040000 3632000>,
- + <68 604 2349000 3632000>,
- + <68 604 2551000 3632000>;
- + qcom,bus-configs = <0x04000000>;
- + };
- +
- + qcom,msm-bus-client@6 {
- + qcom,msm-bus,name = "vdec-core0-ocmem";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <68 604 0 0>,
- + <68 604 79000 2384000>,
- + <68 604 201000 2384000>,
- + <68 604 201000 2384000>,
- + <68 604 367000 2384000>,
- + <68 604 367000 2384000>,
- + <68 604 735000 3632000>,
- + <68 604 735000 3632000>,
- + <68 604 1175000 3632000>,
- + <68 604 1254000 3632000>,
- + <68 604 1469000 3632000>;
- + qcom,bus-configs = <0xc000000>;
- + };
- +
- + qcom,msm-bus-client@7 {
- + qcom,msm-bus,name = "vdec-core1-ocmem";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <68 604 0 0>,
- + <68 604 88000 2384000>,
- + <68 604 228000 2384000>,
- + <68 604 228000 2384000>,
- + <68 604 432000 2384000>,
- + <68 604 432000 2384000>,
- + <68 604 865000 3632000>,
- + <68 604 865000 3632000>,
- + <68 604 1374000 3632000>,
- + <68 604 1465000 3632000>,
- + <68 604 1717000 3632000>;
- + qcom,bus-configs = <0x30fcfff>;
- + };
- +
- + qcom,msm-bus-client@8 {
- + qcom,msm-bus,name = "venc-ddr-lp";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 66800 0>,
- + <63 512 201100 0>,
- + <63 512 201100 0>,
- + <63 512 458300 0>,
- + <63 512 458300 0>,
- + <63 512 889200 0>,
- + <63 512 889200 0>,
- + <63 512 1218000 0>,
- + <63 512 1218000 0>,
- + <63 512 1218000 0>;
- + qcom,bus-low-power;
- + qcom,bus-configs = <0x0000004>;
- + };
- +
- + qcom,msm-bus-client@9 {
- + qcom,msm-bus,name = "venus-arm9-ddr";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 1000 1000>;
- + qcom,bus-configs = <0x00000000>;
- + qcom,bus-passive;
- + };
- + };
- + };
- +
- + i2c_1: i2c@f9923000 {
- + compatible = "qcom,i2c-msm-v2";
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg-names = "qup_phys_addr";
- + reg = <0xf9923000 0x1000>;
- + interrupt-names = "qup_irq";
- + interrupts = <0 95 0>;
- + qcom,clk-freq-out = <400000>;
- + qcom,clk-freq-in = <19200000>;
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp1_qup1_i2c_apps_clk>;
- +
- + pinctrl-names = "i2c_active", "i2c_sleep";
- + pinctrl-0 = <&i2c_1_active>;
- + pinctrl-1 = <&i2c_1_sleep>;
- + qcom,noise-rjct-scl = <0>;
- + qcom,noise-rjct-sda = <0>;
- + qcom,master-id = <86>;
- + dmas = <&dma_blsp1 10 64 0x20000020 0x20>,
- + <&dma_blsp1 11 32 0x20000020 0x20>;
- + dma-names = "tx", "rx";
- + status = "disabled";
- + };
- +
- + dma_blsp1: qcom,sps-dma@f9904000 { /* BLSP1 */
- + #dma-cells = <4>;
- + compatible = "qcom,sps-dma";
- + reg = <0xf9904000 0x19000>;
- + interrupts = <0 238 0>;
- + qcom,summing-threshold = <10>;
- + };
- +
- + dma_blsp2: qcom,sps-dma@f9944000 { /* BLSP2 */
- + #dma-cells = <4>;
- + compatible = "qcom,sps-dma";
- + reg = <0xf9944000 0x19000>;
- + interrupts = <0 239 0>;
- + qcom,summing-threshold = <10>;
- + };
- +
- +
- + i2c_2: i2c@f9924000 { /* BLSP1 QUP2 */
- + compatible = "qcom,i2c-msm-v2";
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg-names = "qup_phys_addr";
- + reg = <0xf9924000 0x1000>;
- + interrupt-names = "qup_irq";
- + interrupts = <0 96 0>;
- + qcom,clk-freq-out = <400000>;
- + qcom,clk-freq-in = <19200000>;
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp1_qup2_i2c_apps_clk>;
- +
- + pinctrl-names = "i2c_active", "i2c_sleep";
- + pinctrl-0 = <&i2c_2_active>;
- + pinctrl-1 = <&i2c_2_sleep>;
- + qcom,noise-rjct-scl = <0>;
- + qcom,noise-rjct-sda = <0>;
- +
- + /* #ifdef VENDOR_EDIT */
- + //add by yangrujin@bsp for dma has some issue causing i2c fail
- + //qcom,disable-dma;
- + /* #endif //VENDOR_EDIT */
- +
- +
- + dmas = <&dma_blsp1 14 64 0x20000020 0x20>,
- + <&dma_blsp1 15 32 0x20000020 0x20>;
- + dma-names = "tx", "rx";
- + qcom,master-id = <86>;
- + };
- +
- + i2c_5: i2c_11: i2c@f9967000 { /* BLSP2 QUP5 */
- + compatible = "qcom,i2c-msm-v2";
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg-names = "qup_phys_addr";
- + reg = <0xf9967000 0x1000>;
- + interrupt-names = "qup_irq";
- + interrupts = <0 105 0>;
- + qcom,clk-freq-out = <100000>;
- + qcom,clk-freq-in = <19200000>;
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp2_qup5_i2c_apps_clk>;
- +
- + pinctrl-names = "i2c_active", "i2c_sleep";
- + pinctrl-0 = <&i2c_5_active>;
- + pinctrl-1 = <&i2c_5_sleep>;
- + qcom,noise-rjct-scl = <0>;
- + qcom,noise-rjct-sda = <0>;
- + //#ifndef VENDOR_EDIT
- + /*zhiguang.su@MultiMedia.AudioDrv , 2015/4/13, dma mode will cause I2C fail*/
- + qcom,disable-dma;
- + //#endif
- + dmas = <&dma_blsp2 20 64 0x20000020 0x20>,
- + <&dma_blsp2 21 32 0x20000020 0x20>;
- + dma-names = "tx", "rx";
- + qcom,master-id = <84>;
- + };
- +
- + i2c_6: i2c@f9928000 { /* BLSP1 QUP6 */
- + compatible = "qcom,i2c-msm-v2";
- + #address-cells = <1>;
- + #size-cells = <0>;
- + status = "disabled";
- + reg-names = "qup_phys_addr";
- + reg = <0xf9928000 0x1000>;
- + interrupt-names = "qup_irq";
- + interrupts = <0 100 0>;
- + qcom,clk-freq-out = <400000>;
- + qcom,clk-freq-in = <19200000>;
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp1_qup6_i2c_apps_clk>;
- +
- + pinctrl-names = "i2c_active", "i2c_sleep";
- + pinctrl-0 = <&i2c_6_active>;
- + pinctrl-1 = <&i2c_6_sleep>;
- + qcom,noise-rjct-scl = <0>;
- + qcom,noise-rjct-sda = <0>;
- + dmas = <&dma_blsp1 22 64 0x20000020 0x20>,
- + <&dma_blsp1 23 32 0x20000020 0x20>;
- + dma-names = "tx", "rx";
- + qcom,master-id = <86>;
- + };
- +
- + sound {
- + compatible = "qcom,msm8994-asoc-snd";
- + qcom,model = "msm8994-tomtom-snd-card";
- + reg = <0xfe034000 0x4>,
- + <0xfe035000 0x4>,
- + <0xfe036000 0x4>,
- + <0xfe037000 0x4>;
- + reg-names = "lpaif_pri_mode_muxsel",
- + "lpaif_sec_mode_muxsel",
- + "lpaif_tert_mode_muxsel",
- + "lpaif_quat_mode_muxsel";
- +
- + qcom,audio-routing =
- + "AIF4 VI", "MCLK",
- + "RX_BIAS", "MCLK",
- + "LDO_H", "MCLK",
- + "MADINPUT", "MCLK";
- + //#ifndef VENDOR_EDIT
- + /*zhiguang.su@MultiMedia.AudioDrv , 2015/3/19, delete unsed mic*/
- + //"AMIC1", "MIC BIAS1 Internal1",
- + //"MIC BIAS1 Internal1", "Handset Mic",
- + //"AMIC2", "MIC BIAS2 External",
- + //"MIC BIAS2 External", "Headset Mic",
- + //"AMIC3", "MIC BIAS2 External",
- + //"MIC BIAS2 External", "ANCRight Headset Mic",
- + //"AMIC4", "MIC BIAS2 External",
- + //"MIC BIAS2 External", "ANCLeft Headset Mic",
- + //"DMIC1", "MIC BIAS1 External",
- + //"MIC BIAS1 External", "Digital Mic1",
- + //"DMIC2", "MIC BIAS1 External",
- + //"MIC BIAS1 External", "Digital Mic2",
- + //"DMIC3", "MIC BIAS3 External",
- + //"MIC BIAS3 External", "Digital Mic3",
- + //"DMIC4", "MIC BIAS3 External",
- + //"MIC BIAS3 External", "Digital Mic4",
- + //"DMIC5", "MIC BIAS4 External",
- + //"MIC BIAS4 External", "Digital Mic5",
- + //"DMIC6", "MIC BIAS4 External",
- + //"MIC BIAS4 External", "Digital Mic6";
- + //#endif
- +
- + clock-names = "osr_clk";
- + clocks = <&clock_rpm clk_div_clk1>;
- + qcom,cdc-mclk-gpios = <&pm8994_gpios 15 0>;
- + qcom,tomtom-mclk-clk-freq = <9600000>;
- + pinctrl-names = "sleep",
- + "auxpcm-active",
- + "mi2s-active",
- + //#ifdef VENDOR_EDIT
- + /*zhiguang.su@MultiMedia.AudioDrv,changed for quat i2s */
- + "active",
- + "quat_mi2s_active",
- + "quat_aux_active";
- + //#endif
- +//#ifdef VENDOR_EDIT
- +//pinctrl-0 = <&pri_mi2s_sleep>, <&pri_mi2s_sd0_sleep>,
- +// <&sec_aux_pcm_sleep>, <&sec_aux_pcm_din_sleep>;
- +//pinctrl-1 = <&pri_mi2s_sleep>, <&pri_mi2s_sd0_sleep>,
- +// <&sec_aux_pcm_active>, <&sec_aux_pcm_din_active>;
- +//pinctrl-2 = <&pri_mi2s_active>, <&pri_mi2s_sd0_active>,
- +// <&sec_aux_pcm_sleep>, <&sec_aux_pcm_din_sleep>;
- +//pinctrl-3 = <&pri_mi2s_active>, <&pri_mi2s_sd0_active>,
- +// <&sec_aux_pcm_active>, <&sec_aux_pcm_din_active>;
- +//#endif
- +
- +//#ifdef VENDOR_EDIT
- +/*zhiguang.su@MultiMedia.AudioDrv,2015-4-8,remove unused pri-i2s for conflict pins with BSP module.*/
- + pinctrl-0 = <&sec_aux_pcm_sleep>, <&sec_aux_pcm_din_sleep>;
- + pinctrl-1 = <&sec_aux_pcm_active>, <&sec_aux_pcm_din_active>;
- + pinctrl-2 = <&sec_aux_pcm_sleep>, <&sec_aux_pcm_din_sleep>;
- + pinctrl-3 = <&sec_aux_pcm_active>, <&sec_aux_pcm_din_active>;
- +//#endif
- +//#ifdef VENDOR_EDIT
- +/*zhiguang.su@MultiMedia.AudioDrv changed for quat i2s */
- + pinctrl-4 = <&quat_mi2s_active>, <&quat_mi2s_mclk_active>, <&quat_mi2s_sd0_active> , <&quat_mi2s_sd1_active>;
- + pinctrl-5 = <&quat_mi2s_active>, <&quat_mi2s_mclk_active>, <&quat_mi2s_sd0_active> , <&quat_mi2s_sd1_active> , <&sec_aux_pcm_active>, <&sec_aux_pcm_din_active>;
- +//#endif
- + asoc-platform = <&pcm0>, <&pcm1>, <&pcm2>, <&voip>, <&voice>,
- + <&loopback>, <&compress>, <&hostless>,
- + <&afe>, <&lsm>, <&routing>, <&cpe>, <&compr>;
- + asoc-platform-names = "msm-pcm-dsp.0", "msm-pcm-dsp.1", "msm-pcm-dsp.2",
- + "msm-voip-dsp", "msm-pcm-voice", "msm-pcm-loopback",
- + "msm-compress-dsp", "msm-pcm-hostless", "msm-pcm-afe",
- + "msm-lsm-client", "msm-pcm-routing", "msm-cpe-lsm",
- + "msm-compr-dsp";
- +//#ifdef VENDOR_EDIT
- +/*zhiguang.su@MultiMedia.AudioDrv changed for quat i2s*/
- + asoc-cpu = <&dai_pri_auxpcm>, <&dai_sec_auxpcm>, <&dai_hdmi>, <&dai_mi2s>,<&qua_mi2s>,
- + <&sb_0_rx>, <&sb_0_tx>, <&sb_1_rx>, <&sb_1_tx>,
- + <&sb_2_rx>, <&sb_2_tx>, <&sb_3_rx>, <&sb_3_tx>,
- + <&sb_4_rx>, <&sb_4_tx>, <&sb_5_tx>, <&bt_sco_rx>,
- + <&bt_sco_tx>, <&int_fm_rx>, <&int_fm_tx>, <&afe_pcm_rx>,
- + <&afe_pcm_tx>, <&afe_proxy_rx>, <&afe_proxy_tx>,
- + <&incall_record_rx>, <&incall_record_tx>, <&incall_music_rx>,
- + <&incall_music2_rx>;
- + asoc-cpu-names = "msm-dai-q6-auxpcm.1", "msm-dai-q6-auxpcm.2",
- + "msm-dai-q6-hdmi.8", "msm-dai-q6-mi2s.0","msm-dai-q6-mi2s.3",
- + "msm-dai-q6-dev.16384", "msm-dai-q6-dev.16385",
- + "msm-dai-q6-dev.16386", "msm-dai-q6-dev.16387",
- + "msm-dai-q6-dev.16388", "msm-dai-q6-dev.16389",
- + "msm-dai-q6-dev.16390", "msm-dai-q6-dev.16391",
- + "msm-dai-q6-dev.16392", "msm-dai-q6-dev.16393",
- + "msm-dai-q6-dev.16395", "msm-dai-q6-dev.12288",
- + "msm-dai-q6-dev.12289", "msm-dai-q6-dev.12292",
- + "msm-dai-q6-dev.12293", "msm-dai-q6-dev.224",
- + "msm-dai-q6-dev.225", "msm-dai-q6-dev.241",
- + "msm-dai-q6-dev.240", "msm-dai-q6-dev.32771",
- + "msm-dai-q6-dev.32772", "msm-dai-q6-dev.32773",
- + "msm-dai-q6-dev.32770";
- +//#endif
- + asoc-codec = <&stub_codec>;
- + asoc-codec-names = "msm-stub-codec.1";
- + };
- +
- + qcom,msm-adsp-loader {
- + compatible = "qcom,adsp-loader";
- + qcom,adsp-state = <0>;
- + };
- +
- + qcom,msm-audio-ion {
- + compatible = "qcom,msm-audio-ion";
- + };
- +
- + pcm0: qcom,msm-pcm {
- + compatible = "qcom,msm-pcm-dsp";
- + qcom,msm-pcm-dsp-id = <0>;
- + };
- +
- + qcom,msm-pcm-lpa {
- + compatible = "qcom,msm-pcm-lpa";
- + };
- +
- + pcm2: qcom,msm-ultra-low-latency {
- + compatible = "qcom,msm-pcm-dsp";
- + qcom,msm-pcm-dsp-id = <2>;
- + qcom,msm-pcm-low-latency;
- + qcom,latency-level = "ultra";
- + };
- +
- + pcm1: qcom,msm-pcm-low-latency {
- + compatible = "qcom,msm-pcm-dsp";
- + qcom,msm-pcm-dsp-id = <1>;
- + qcom,msm-pcm-low-latency;
- + qcom,latency-level = "regular";
- + };
- +
- + routing: qcom,msm-pcm-routing {
- + compatible = "qcom,msm-pcm-routing";
- + };
- +
- + compr: qcom,msm-compr-dsp {
- + compatible = "qcom,msm-compr-dsp";
- + };
- +
- + compress: qcom,msm-compress-dsp {
- + compatible = "qcom,msm-compress-dsp";
- + };
- +
- + voip: qcom,msm-voip-dsp {
- + compatible = "qcom,msm-voip-dsp";
- + };
- +
- + voice: qcom,msm-pcm-voice {
- + compatible = "qcom,msm-pcm-voice";
- + qcom,destroy-cvd;
- + };
- +
- + stub_codec: qcom,msm-stub-codec {
- + compatible = "qcom,msm-stub-codec";
- + };
- +
- + qcom,msm-dai-fe {
- + compatible = "qcom,msm-dai-fe";
- + };
- +
- + afe: qcom,msm-pcm-afe {
- + compatible = "qcom,msm-pcm-afe";
- + };
- +
- + dai_hdmi: qcom,msm-dai-q6-hdmi {
- + compatible = "qcom,msm-dai-q6-hdmi";
- + qcom,msm-dai-q6-dev-id = <8>;
- + };
- +
- + lsm: qcom,msm-lsm-client {
- + compatible = "qcom,msm-lsm-client";
- + };
- +
- + loopback: qcom,msm-pcm-loopback {
- + compatible = "qcom,msm-pcm-loopback";
- + };
- +
- + qcom,msm-voice-svc {
- + compatible = "qcom,msm-voice-svc";
- + };
- +
- + cpe: qcom,msm-cpe-lsm {
- + compatible = "qcom,msm-cpe-lsm";
- + };
- +
- + qcom,msm-dai-q6 {
- + compatible = "qcom,msm-dai-q6";
- + sb_0_rx: qcom,msm-dai-q6-sb-0-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16384>;
- + };
- +
- + sb_0_tx: qcom,msm-dai-q6-sb-0-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16385>;
- + };
- +
- + sb_1_rx: qcom,msm-dai-q6-sb-1-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16386>;
- + };
- +
- + sb_1_tx: qcom,msm-dai-q6-sb-1-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16387>;
- + };
- +
- + sb_2_rx: qcom,msm-dai-q6-sb-2-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16388>;
- + };
- +
- + sb_2_tx: qcom,msm-dai-q6-sb-2-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16389>;
- + };
- +
- + sb_3_rx: qcom,msm-dai-q6-sb-3-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16390>;
- + };
- +
- + sb_3_tx: qcom,msm-dai-q6-sb-3-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16391>;
- + };
- +
- + sb_4_rx: qcom,msm-dai-q6-sb-4-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16392>;
- + };
- +
- + sb_4_tx: qcom,msm-dai-q6-sb-4-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16393>;
- + };
- +
- + sb_5_tx: qcom,msm-dai-q6-sb-5-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16395>;
- + };
- +
- + bt_sco_rx: qcom,msm-dai-q6-bt-sco-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <12288>;
- + };
- +
- + bt_sco_tx: qcom,msm-dai-q6-bt-sco-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <12289>;
- + };
- +
- + int_fm_rx: qcom,msm-dai-q6-int-fm-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <12292>;
- + };
- +
- + int_fm_tx: qcom,msm-dai-q6-int-fm-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <12293>;
- + };
- +
- + afe_pcm_rx: qcom,msm-dai-q6-be-afe-pcm-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <224>;
- + };
- +
- + afe_pcm_tx: qcom,msm-dai-q6-be-afe-pcm-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <225>;
- + };
- +
- + afe_proxy_rx: com,msm-dai-q6-afe-proxy-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <241>;
- + };
- +
- + afe_proxy_tx: qcom,msm-dai-q6-afe-proxy-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <240>;
- + };
- +
- + incall_record_rx: qcom,msm-dai-q6-incall-record-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <32771>;
- + };
- +
- + incall_record_tx: qcom,msm-dai-q6-incall-record-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <32772>;
- + };
- +
- + incall_music_rx: qcom,msm-dai-q6-incall-music-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <32773>;
- + };
- +
- + incall_music2_rx: qcom,msm-dai-q6-incall-music-2-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <32770>;
- + };
- + };
- +
- + dai_pri_auxpcm: qcom,msm-pri-auxpcm {
- + compatible = "qcom,msm-auxpcm-dev";
- + qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
- + qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
- + qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
- + qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-data = <0>, <0>;
- + qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
- + qcom,msm-auxpcm-interface = "primary";
- + };
- +
- + dai_sec_auxpcm: qcom,msm-sec-auxpcm {
- + compatible = "qcom,msm-auxpcm-dev";
- + qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
- + qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
- + qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
- + qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-data = <0>, <0>;
- + qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
- + qcom,msm-auxpcm-interface = "secondary";
- + };
- +
- + qcom,msm-dai-mi2s {
- + compatible = "qcom,msm-dai-mi2s";
- + dai_mi2s: qcom,msm-dai-q6-mi2s-prim {
- + compatible = "qcom,msm-dai-q6-mi2s";
- + qcom,msm-dai-q6-mi2s-dev-id = <0>;
- +//#ifdef VENDOR_EDIT
- +/*zhiguang.su@MultiMedia.AudioDrv ,changed for quat i2s*/
- +
- + qcom,msm-mi2s-rx-lines = <1>;
- + qcom,msm-mi2s-tx-lines = <2>;
- + };
- +
- + qua_mi2s: qcom,msm-dai-q6-mi2s-quat {
- + compatible = "qcom,msm-dai-q6-mi2s";
- + qcom,msm-dai-q6-mi2s-dev-id = <3>;
- + qcom,msm-mi2s-rx-lines = <1>;
- + qcom,msm-mi2s-tx-lines = <2>;
- + };
- +//#endif
- + };
- +
- + hostless: qcom,msm-pcm-hostless {
- + compatible = "qcom,msm-pcm-hostless";
- + };
- +
- + tsens: tsens@fc4a8000 {
- + compatible = "qcom,msm8994-tsens";
- + reg = <0xfc4a8000 0x2000>,
- + <0xfc4bc000 0x1000>;
- + reg-names = "tsens_physical", "tsens_eeprom_physical";
- + interrupts = <0 184 0>;
- + interrupt-names = "tsens-upper-lower";
- + qcom,sensors = <16>;
- + qcom,slope = <2901 2846 3200 3200 3200 3200 3200 3200 3200 3200 3200 3200 3200 3200 3200 3200>;
- + };
- +
- + qcom_tzlog: tz-log@fe87f720 {
- + compatible = "qcom,tz-log";
- + reg = <0xfe87f720 0x2000>;
- + };
- +
- + qcom_crypto1fde: qcrypto1fde@fd440000 {
- + compatible = "qcom,qcrypto";
- + reg = <0xfd440000 0x20000>,
- + <0xfd444000 0x9000>;
- + reg-names = "crypto-base","crypto-bam-base";
- + interrupts = <0 236 0>;
- + qcom,bam-pipe-pair = <2>;
- + qcom,ce-hw-instance = <1>;
- + qcom,ce-device = <0>;
- + qcom,clk-mgmt-sus-res;
- + qcom,msm-bus,name = "qcrypto-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 393600 393600>;
- + clock-names = "core_clk_src", "iface_clk", "bus_clk";
- + clocks = <&clock_rpm clk_qcrypto_ce2_clk>,
- + <&clock_rpm clk_gcc_ce2_ahb_m_clk>,
- + <&clock_rpm clk_gcc_ce2_axi_m_clk>;
- + qcom,support-core-clk-only;
- + qcom,use-sw-aes-cbc-ecb-ctr-algo;
- + qcom,use-sw-aes-xts-algo;
- + qcom,use-sw-aes-ccm-algo;
- + qcom,use-sw-ahash-algo;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom_crypto2fde: qcrypto2fde@0xfd3c0000 {
- + compatible = "qcom,qcrypto";
- + reg = <0xfd3c0000 0x20000>,
- + <0xfd3c4000 0x9000>;
- + reg-names = "crypto-base","crypto-bam-base";
- + interrupts = <0 297 0>;
- + qcom,bam-pipe-pair = <2>;
- + qcom,ce-hw-instance = <2>;
- + qcom,ce-device = <0>;
- + qcom,clk-mgmt-sus-res;
- + qcom,msm-bus,name = "qcrypto-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 393600 393600>;
- + clock-names = "core_clk_src", "iface_clk", "bus_clk";
- + clocks = <&clock_rpm clk_qcrypto_ce3_clk>,
- + <&clock_rpm clk_gcc_ce3_ahb_m_clk>,
- + <&clock_rpm clk_gcc_ce3_axi_m_clk>;
- + qcom,support-core-clk-only;
- + qcom,use-sw-aes-cbc-ecb-ctr-algo;
- + qcom,use-sw-aes-xts-algo;
- + qcom,use-sw-aes-ccm-algo;
- + qcom,use-sw-ahash-algo;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom_crypto1pfe: qcrypto1pfe@fd440000 {
- + compatible = "qcom,qcrypto";
- + reg = <0xfd440000 0x20000>,
- + <0xfd444000 0x9000>;
- + reg-names = "crypto-base","crypto-bam-base";
- + interrupts = <0 236 0>;
- + qcom,bam-pipe-pair = <0>;
- + qcom,ce-hw-instance = <1>;
- + qcom,ce-device = <1>;
- + qcom,clk-mgmt-sus-res;
- + qcom,msm-bus,name = "qcrypto-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 393600 393600>;
- + clock-names = "core_clk_src", "iface_clk", "bus_clk";
- + clocks = <&clock_rpm clk_qcrypto_ce2_clk>,
- + <&clock_rpm clk_gcc_ce2_ahb_m_clk>,
- + <&clock_rpm clk_gcc_ce2_axi_m_clk>;
- + qcom,support-core-clk-only;
- + qcom,use-sw-aes-cbc-ecb-ctr-algo;
- + qcom,use-sw-aes-xts-algo;
- + qcom,use-sw-aes-ccm-algo;
- + qcom,use-sw-ahash-algo;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom_crypto2pfe: qcrypto2pfe@0xfd3c0000 {
- + compatible = "qcom,qcrypto";
- + reg = <0xfd3c0000 0x20000>,
- + <0xfd3c4000 0x9000>;
- + reg-names = "crypto-base","crypto-bam-base";
- + interrupts = <0 297 0>;
- + qcom,bam-pipe-pair = <0>;
- + qcom,ce-hw-instance = <2>;
- + qcom,ce-device = <1>;
- + qcom,clk-mgmt-sus-res;
- + qcom,msm-bus,name = "qcrypto-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 393600 393600>;
- + clock-names = "core_clk_src", "iface_clk", "bus_clk";
- + clocks = <&clock_rpm clk_qcrypto_ce3_clk>,
- + <&clock_rpm clk_gcc_ce3_ahb_m_clk>,
- + <&clock_rpm clk_gcc_ce3_axi_m_clk>;
- + qcom,support-core-clk-only;
- + qcom,use-sw-aes-cbc-ecb-ctr-algo;
- + qcom,use-sw-aes-xts-algo;
- + qcom,use-sw-aes-ccm-algo;
- + qcom,use-sw-ahash-algo;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom_cedev: qcedev@fd440000 {
- + compatible = "qcom,qcedev";
- + reg = <0xfd440000 0x20000>,
- + <0xfd444000 0x9000>;
- + reg-names = "crypto-base","crypto-bam-base";
- + interrupts = <0 236 0>;
- + qcom,bam-pipe-pair = <1>;
- + qcom,ce-hw-instance = <0>;
- + qcom,ce-device = <0>;
- + qcom,msm-bus,name = "qcedev-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 393600 393600>;
- + clock-names = "core_clk_src", "iface_clk", "bus_clk";
- + clocks = <&clock_rpm clk_qcedev_ce2_clk>,
- + <&clock_rpm clk_gcc_ce2_ahb_m_clk>,
- + <&clock_rpm clk_gcc_ce2_axi_m_clk>;
- + qcom,support-core-clk-only;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom,qseecom@6500000{
- + compatible = "qcom,qseecom";
- + reg = <0x0E900000 0x1900000>;//reg = <0x6500000 0x500000>; ----> <0x0E700000 0x700000>; ----> <0x0E900000 0x1900000>; /*VENDOR_EDIT changhua add more memory for fpc1150 and alipay in TZ*/
- + reg-names = "secapp-region";
- + qcom,disk-encrypt-pipe-pair = <2>;
- + qcom,file-encrypt-pipe-pair = <0>;
- + qcom,support-multiple-ce-hw-instance;
- + qcom,hlos-num-ce-hw-instances = <2>;
- + qcom,hlos-ce-hw-instance = <1 2>;
- + qcom,qsee-ce-hw-instance = <0>;
- + qcom,msm-bus,name = "qseecom-noc";
- + qcom,msm-bus,num-cases = <4>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,support-fde;
- + qcom,support-pfe;
- + qcom,no-clock-support;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 0 0>,
- + <55 512 120000 1200000>,
- + <55 512 393600 3936000>;
- + clock-names = "core_clk", "ufs_core_clk_src", "ufs_core_clk",
- + "ufs_bus_clk", "ufs_iface_clk";
- + clocks = <&clock_rpm clk_qseecom_ce1_clk>,
- + <&clock_gcc clk_ufs_axi_clk_src>,
- + <&clock_gcc clk_gcc_ufs_axi_clk>,
- + <&clock_gcc clk_gcc_sys_noc_ufs_axi_clk>,
- + <&clock_gcc clk_gcc_ufs_ahb_clk>;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom,sensor-information {
- + compatible = "qcom,sensor-information";
- + sensor_information0: qcom,sensor-information@0 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor0";
- + };
- +
- + sensor_information1: qcom,sensor-information@1 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor1";
- + };
- +
- + sensor_information2: qcom,sensor-information@2 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor2";
- + qcom,alias-name = "pop_mem";
- + };
- +
- + sensor_information3: qcom,sensor-information@3 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor3";
- + };
- +
- + sensor_information4: qcom,sensor-information@4 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor4";
- + };
- +
- + sensor_information5: qcom,sensor-information@5 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor5";
- + };
- +
- + sensor_information6: qcom,sensor-information@6 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor6";
- + qcom,alias-name = "cpu7";
- + };
- +
- + sensor_information7: qcom,sensor-information@7 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor7";
- + qcom,alias-name = "cpu0";
- + };
- +
- + sensor_information8: qcom,sensor-information@8 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor8";
- + qcom,alias-name = "cpu1";
- + };
- +
- + sensor_information9: qcom,sensor-information@9 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor9";
- + qcom,alias-name = "cpu2";
- + };
- +
- + sensor_information10: qcom,sensor-information@10 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor10";
- + qcom,alias-name = "cpu3";
- + };
- +
- + sensor_information11: qcom,sensor-information@11 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor11";
- + };
- +
- + sensor_information12: qcom,sensor-information@12 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor12";
- + qcom,alias-name = "gpu";
- + };
- +
- + sensor_information13: qcom,sensor-information@13 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor13";
- + qcom,alias-name = "cpu4";
- + };
- +
- + sensor_information14: qcom,sensor-information@14 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor14";
- + qcom,alias-name = "cpu5";
- + };
- +
- + sensor_information15: qcom,sensor-information@15 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor15";
- + qcom,alias-name = "cpu6";
- + };
- +
- + sensor_information16: qcom,sensor-information@16 {
- + qcom,sensor-type = "alarm";
- + qcom,sensor-name = "pm8994_tz";
- + qcom,scaling-factor = <1000>;
- + };
- +
- + sensor_information17: qcom,sensor-information@17 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "msm_therm";
- + };
- +
- + sensor_information18: qcom,sensor-information@18 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "emmc_therm";
- + };
- +
- + sensor_information19: qcom,sensor-information@19 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "pa_therm0";
- + };
- +
- + sensor_information20: qcom,sensor-information@20 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "pa_therm1";
- + };
- +
- + sensor_information21: qcom,sensor-information@21 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "quiet_therm";
- + };
- +
- + sensor_information22: qcom,sensor-information@22 {
- + qcom,sensor-type = "llm";
- + qcom,sensor-name = "LLM_IA57";
- + };
- +
- + sensor_information23: qcom,sensor-information-23 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "battery";
- + };
- + };
- +
- + qcom,msm-thermal {
- + compatible = "qcom,msm-thermal";
- + qcom,sensor-id = <7>;
- + qcom,poll-ms = <250>;
- + qcom,limit-temp = <60>;
- + qcom,temp-hysteresis = <10>;
- + qcom,therm-reset-temp = <115>;
- + qcom,freq-step = <2>;
- + qcom,freq-control-mask = <0xff>;
- + qcom,core-limit-temp = <80>;
- + qcom,core-temp-hysteresis = <10>;
- + qcom,core-control-mask = <0xfe>;
- + qcom,hotplug-temp = <105>;
- + qcom,hotplug-temp-hysteresis = <40>;
- + qcom,cpu-sensors = "tsens_tz_sensor7", "tsens_tz_sensor8",
- + "tsens_tz_sensor9", "tsens_tz_sensor10",
- + "tsens_tz_sensor13", "tsens_tz_sensor14",
- + "tsens_tz_sensor15", "tsens_tz_sensor6";
- + qcom,freq-mitigation-temp = <95>;
- + qcom,freq-mitigation-temp-hysteresis = <10>;
- + qcom,freq-mitigation-value = <960000>;
- + qcom,freq-mitigation-control-mask = <0xF0>;
- + qcom,online-hotplug-core;
- + qcom,synchronous-cluster-id = <0 1>;
- + qcom,mx-restriction-temp = <5>;
- + qcom,mx-restriction-temp-hysteresis = <10>;
- + qcom,mx-retention-min = <3>;
- + vdd-mx-supply = <&pm8994_s2_corner>;
- +
- + qcom,vdd-restriction-temp = <5>;
- + qcom,vdd-restriction-temp-hysteresis = <10>;
- +
- + vdd-dig-supply = <&pm8994_s1_floor_corner>;
- + vdd-gfx-supply = <&pmi8994_s2_floor_corner>;
- +
- + qcom,vdd-dig-rstr{
- + qcom,vdd-rstr-reg = "vdd-dig";
- + qcom,levels = <5 7 7>; /* Nominal, Super Turbo, Super Turbo */
- + qcom,min-level = <1>; /* No Request */
- + };
- +
- + qcom,vdd-gfx-rstr{
- + qcom,vdd-rstr-reg = "vdd-gfx";
- + qcom,levels = <5 7 7>; /* Nominal, Super Turbo, Super Turbo */
- + qcom,min-level = <1>; /* No Request */
- + };
- +
- + msm_thermal_freq: qcom,vdd-apps-rstr{
- + qcom,vdd-rstr-reg = "vdd-apps";
- + qcom,levels = <302400 600000 600000>;
- + qcom,freq-req;
- + };
- + };
- +
- + qcom,bcl {
- + compatible = "qcom,bcl";
- + qcom,bcl-enable;
- + qcom,bcl-framework-interface;
- + qcom,bcl-freq-control-list = <&CPU6 &CPU7>;
- + qcom,bcl-hotplug-list = <&CPU6 &CPU7>;
- + qcom,bcl-soc-hotplug-list = <&CPU6 &CPU7>;
- + qcom,ibat-monitor {
- + qcom,low-threshold-uamp = <3400000>;
- + qcom,high-threshold-uamp = <4200000>;
- + qcom,mitigation-freq-khz = <768000>;
- + qcom,vph-high-threshold-uv = <3500000>;
- + qcom,vph-low-threshold-uv = <3300000>;
- + qcom,soc-low-threshold = <20>;
- + qcom,thermal-handle = <&msm_thermal_freq>;
- + };
- + };
- +
- + cnss: qcom,cnss@06300000 {
- + compatible = "qcom,cnss";
- + reg = <0x06300000 0x200000>;
- + reg-names = "ramdump";
- + wlan-en-gpio = <&msm_gpio 113 0>;
- + vdd-wlan-supply = <&bt_vreg>;
- + vdd-wlan-io-supply = <&pm8994_s4>;
- + vdd-wlan-xtal-supply = <&pm8994_l30>;
- + qcom,notify-modem-status;
- + pinctrl-names = "default";
- + pinctrl-0 = <&cnss_default>;
- + qcom,wlan-rc-num = <1>;
- + qcom,wlan-uart-access;
- +
- + qcom,msm-bus,name = "msm-cnss";
- + qcom,msm-bus,num-cases = <4>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <100 512 0 0>, /* No vote */
- + <100 512 6250 200000>, /* 50 Mbps */
- + <100 512 25000 200000>, /* 200 Mbps */
- + <100 512 100000 200000>; /* 800 Mbps */
- + };
- +
- + audio_heap {
- + compatible = "qcom,msm-shared-memory";
- + qcom,proc-id = <1>;
- + linux,contiguous-region = <&audio_mem>;
- + };
- +
- + adsp_heap {
- + compatible = "qcom,msm-shared-memory";
- + qcom,proc-id = <1>;
- + linux,contiguous-region = <&adsp_mem>;
- + };
- +
- + qcom,msm-core@fc4b8000 {
- + compatible = "qcom,apss-core-ea";
- + reg = <0xfc4b8000 0x1000>;
- + qcom,low-hyst-temp = <10>;
- + qcom,high-hyst-temp = <5>;
- + qcom,polling-interval = <50>;
- +
- + qcom,core-mapping {
- + qcom,cpu0-chars {
- + qcom,sensor = <&sensor_information7>;
- + qcom,cpu-name = <&CPU0>;
- + };
- +
- + qcom,cpu1-chars {
- + qcom,sensor = <&sensor_information8>;
- + qcom,cpu-name = <&CPU1>;
- + };
- +
- + qcom,cpu2-chars {
- + qcom,sensor = <&sensor_information9>;
- + qcom,cpu-name = <&CPU2>;
- + };
- +
- + qcom,cpu3-chars {
- + qcom,sensor = <&sensor_information10>;
- + qcom,cpu-name = <&CPU3>;
- + };
- +
- + qcom,cpu4-chars {
- + qcom,sensor = <&sensor_information13>;
- + qcom,cpu-name = <&CPU4>;
- + };
- +
- + qcom,cpu5-chars {
- + qcom,sensor = <&sensor_information14>;
- + qcom,cpu-name = <&CPU5>;
- + };
- +
- + qcom,cpu6-chars {
- + qcom,sensor = <&sensor_information15>;
- + qcom,cpu-name = <&CPU6>;
- + };
- +
- + qcom,cpu7-chars {
- + qcom,sensor = <&sensor_information6>;
- + qcom,cpu-name = <&CPU7>;
- + };
- + };
- + };
- +
- + qcom,system-health-monitor {
- + compatible = "qcom,system-health-monitor";
- +
- + qcom,system-health-monitor-modem {
- + qcom,subsys-name = "msm_mpss";
- + qcom,ssrestart-string = "modem";
- + };
- + };
- +
- + cpuss_dump {
- + compatible = "qcom,cpuss-dump";
- + qcom,itlb_dump100 {
- + qcom,dump-node = <&L1_itlb_100>;
- + qcom,dump-id = <0x24>;
- + };
- + qcom,itlb_dump101 {
- + qcom,dump-node = <&L1_itlb_101>;
- + qcom,dump-id = <0x25>;
- + };
- + qcom,itlb_dump102 {
- + qcom,dump-node = <&L1_itlb_102>;
- + qcom,dump-id = <0x26>;
- + };
- + qcom,itlb_dump103 {
- + qcom,dump-node = <&L1_itlb_103>;
- + qcom,dump-id = <0x27>;
- + };
- + qcom,dtlb_dump100 {
- + qcom,dump-node = <&L1_dtlb_100>;
- + qcom,dump-id = <0x44>;
- + };
- + qcom,dtlb_dump101 {
- + qcom,dump-node = <&L1_dtlb_101>;
- + qcom,dump-id = <0x45>;
- + };
- + qcom,dtlb_dump102 {
- + qcom,dump-node = <&L1_dtlb_102>;
- + qcom,dump-id = <0x46>;
- + };
- + qcom,dtlb_dump103 {
- + qcom,dump-node = <&L1_dtlb_103>;
- + qcom,dump-id = <0x47>;
- + };
- + qcom,l2_tlb_dump0 {
- + qcom,dump-node = <&L2_tlb_0>;
- + qcom,dump-id = <0x120>;
- + };
- + qcom,l2_tlb_dump100 {
- + qcom,dump-node = <&L2_tlb_1>;
- + qcom,dump-id = <0x121>;
- + };
- + qcom,l2_dump0 {
- + qcom,dump-node = <&L2_0>; /* L2 cache dump for A53 cluster */
- + qcom,dump-id = <0xC0>;
- + };
- + qcom,l2_dump1 {
- + qcom,dump-node = <&L2_1>; /* L2 cache dumo for A57 cluster */
- + qcom,dump-id = <0xC1>;
- + };
- + qcom,l1_i_cache0 {
- + qcom,dump-node = <&L1_I_0>;
- + qcom,dump-id = <0x60>;
- + };
- + qcom,l1_i_cache1 {
- + qcom,dump-node = <&L1_I_1>;
- + qcom,dump-id = <0x61>;
- + };
- + qcom,l1_i_cache2 {
- + qcom,dump-node = <&L1_I_2>;
- + qcom,dump-id = <0x62>;
- + };
- + qcom,l1_i_cache3 {
- + qcom,dump-node = <&L1_I_3>;
- + qcom,dump-id = <0x63>;
- + };
- + qcom,l1_i_cache100 {
- + qcom,dump-node = <&L1_I_100>;
- + qcom,dump-id = <0x64>;
- + };
- + qcom,l1_i_cache101 {
- + qcom,dump-node = <&L1_I_101>;
- + qcom,dump-id = <0x65>;
- + };
- + qcom,l1_i_cache102 {
- + qcom,dump-node = <&L1_I_102>;
- + qcom,dump-id = <0x66>;
- + };
- + qcom,l1_i_cache103 {
- + qcom,dump-node = <&L1_I_103>;
- + qcom,dump-id = <0x67>;
- + };
- + qcom,l1_d_cache0 {
- + qcom,dump-node = <&L1_D_0>;
- + qcom,dump-id = <0x80>;
- + };
- + qcom,l1_d_cache1 {
- + qcom,dump-node = <&L1_D_1>;
- + qcom,dump-id = <0x81>;
- + };
- + qcom,l1_d_cache2 {
- + qcom,dump-node = <&L1_D_2>;
- + qcom,dump-id = <0x82>;
- + };
- + qcom,l1_d_cache3 {
- + qcom,dump-node = <&L1_D_3>;
- + qcom,dump-id = <0x83>;
- + };
- + qcom,l1_d_cache100 {
- + qcom,dump-node = <&L1_D_100>;
- + qcom,dump-id = <0x84>;
- + };
- + qcom,l1_d_cache101 {
- + qcom,dump-node = <&L1_D_101>;
- + qcom,dump-id = <0x85>;
- + };
- + qcom,l1_d_cache102 {
- + qcom,dump-node = <&L1_D_102>;
- + qcom,dump-id = <0x86>;
- + };
- + qcom,l1_d_cache103 {
- + qcom,dump-node = <&L1_D_103>;
- + qcom,dump-id = <0x87>;
- + };
- + };
- +
- + qcom,avtimer@fe09c000 {
- + compatible = "qcom,avtimer";
- + reg = <0xFE09C00C 0x4>,
- + <0xFE09C010 0x4>;
- + reg-names = "avtimer_lsb_addr", "avtimer_msb_addr";
- + qcom,clk_div = <27>;
- + };
- +
- + cci@f9100000 {
- + compatible = "arm,cci-400";
- + #address-cells = <1>;
- + #size-cells = <1>;
- + reg = <0xf9100000 0x1000>;
- + ranges = <0x0 0xf9100000 0x10000>;
- + hw-version = <8>;
- +
- + pmu@a000 {
- + compatible = "arm,cci-400-pmu";
- + reg = <0x9000 0x5000>;
- + interrupts = <0 344 0>,
- + <0 344 0>,
- + <0 344 0>,
- + <0 344 0>,
- + <0 344 0>;
- + };
- +
- + };
- +};
- +
- +&gdsc_usb30 {
- + reg = <0xfc4003c4 0x4>;
- + status = "ok";
- +};
- +
- +&gdsc_pcie_0 {
- + status = "ok";
- +};
- +
- +&gdsc_pcie_1 {
- + status = "ok";
- +};
- +
- +&gdsc_ufs {
- + status = "ok";
- +};
- +
- +&gdsc_venus {
- + clock-names = "ocmem_clk", "bus_clk", "core_clk";
- + clocks = <&clock_mmss clk_venus0_ocmemnoc_clk>,
- + <&clock_mmss clk_venus0_axi_clk>,
- + <&clock_mmss clk_venus0_vcodec0_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_venus_core0 {
- + qcom,support-hw-trigger;
- + clock-names = "core0_clk";
- + clocks = <&clock_mmss clk_venus0_core0_vcodec_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_venus_core1 {
- + qcom,support-hw-trigger;
- + clock-names = "core1_clk";
- + clocks = <&clock_mmss clk_venus0_core1_vcodec_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_venus_core2 {
- + qcom,support-hw-trigger;
- + clock-names = "core2_clk";
- + clocks = <&clock_mmss clk_venus0_core2_vcodec_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_mdss {
- + clock-names = "bus_clk", "core_clk";
- + clocks = <&clock_mmss clk_mdss_axi_clk>,
- + <&clock_mmss clk_mdss_mdp_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_camss_top {
- + clock-names = "csi0_clk", "csi1_clk", "bus_clk";
- + clocks = <&clock_mmss clk_camss_csi_vfe0_clk>,
- + <&clock_mmss clk_camss_csi_vfe1_clk>,
- + <&clock_mmss clk_camss_micro_ahb_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_jpeg {
- + clock-names = "bus_clk", "core0_clk", "core1_clk", "core2_clk";
- + clocks = <&clock_mmss clk_camss_jpeg_jpeg_axi_clk>,
- + <&clock_mmss clk_camss_jpeg_jpeg0_clk>,
- + <&clock_mmss clk_camss_jpeg_jpeg1_clk>,
- + <&clock_mmss clk_camss_jpeg_jpeg2_clk>;
- + parent-supply = <&gdsc_camss_top>;
- + status = "ok";
- +};
- +
- +&gdsc_vfe {
- + clock-names = "bus_clk";
- + clocks = <&clock_mmss clk_camss_vfe_vfe_axi_clk>;
- + parent-supply = <&gdsc_camss_top>;
- + status = "ok";
- +};
- +
- +&gdsc_cpp {
- + clock-names = "bus_clk", "core_clk";
- + clocks = <&clock_mmss clk_camss_vfe_cpp_axi_clk>,
- + <&clock_mmss clk_camss_vfe_cpp_clk>;
- + parent-supply = <&gdsc_camss_top>;
- + status = "ok";
- +};
- +
- +&gdsc_fd {
- + clock-names = "bus_clk", "core_clk";
- + clocks = <&clock_mmss clk_fd_axi_clk>,
- + <&clock_mmss clk_fd_core_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_oxili_cx {
- + status = "ok";
- +};
- +
- +&gdsc_oxili_gx {
- + clock-names = "core_clk";
- + clocks = <&clock_mmss clk_oxili_gfx3d_clk>;
- + status = "ok";
- + parent-supply = <&pmi8994_s2_corner>;
- +};
- +
- +#include "msm-pm8994-rpm-regulator.dtsi"
- +#include "msm-pm8994.dtsi"
- +#include "msm-pmi8994.dtsi"
- +#include "msm8994-regulator.dtsi"
- +#include "msm8994-ion.dtsi"
- +#include "msm8994-iommu.dtsi"
- +#include "msm8994-iommu-domains.dtsi"
- +#include "msm8994-camera.dtsi"
- +#include "msm8994-gpu.dtsi"
- +#include "dsi-panel-sim-video.dtsi"
- +#include "dsi-panel-sim-dualmipi0-video.dtsi"
- +#include "dsi-panel-sim-dualmipi1-video.dtsi"
- +#include "dsi-panel-sim-cmd.dtsi"
- +#include "dsi-panel-sim-dualmipi0-cmd.dtsi"
- +#include "dsi-panel-sim-dualmipi1-cmd.dtsi"
- diff --git a/arch/arm64/boot/dts/14049_HW_11/dsi-panel-jd35695-1080p-cmd.dtsi b/arch/arm64/boot/dts/14049_HW_11/dsi-panel-jd35695-1080p-cmd.dtsi
- new file mode 100755
- index 0000000..b92a212
- --- /dev/null
- +++ b/arch/arm64/boot/dts/14049_HW_11/dsi-panel-jd35695-1080p-cmd.dtsi
- @@ -0,0 +1,212 @@
- +/************************************************************
- + * Copyright (c) 2013-2013 OPPO Mobile communication Corp.ltd.,
- + * VENDOR_EDIT
- + * Description: device tree for jdi cmd panel.
- + * Version : 1.0
- + * Date : 2013-12-12
- + * Author : yangxinqin
- + *
- + * This program is free software; you can redistribute it and/or modify
- + * it under the terms of the GNU General Public License version 2 and
- + * only version 2 as published by the Free Software Foundation.
- + *
- + * This program is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + */
- +
- +/*---------------------------------------------------------------------------
- + * This file is autogenerated file using gcdb parser. Please do not edit it.
- + * Update input XML file to add a new entry or update variable in this file
- + * VERSION = "1.0"
- + *---------------------------------------------------------------------------*/
- +&mdss_mdp {
- +dsi_jd35695_1080_cmd: qcom,mdss_dsi_jd35695_1080p_cmd {
- + compatible = "qcom,mdss-dsi-panel";
- + status = "ok";
- + qcom,cont-splash-enabled;
- + qcom,mdss-dsi-panel-name = "jd35695 1080p cmd mode dsi panel";
- + qcom,mdss-dsi-panel-manufacture = "JDI";
- + qcom,mdss-dsi-panel-version = "JD35695";
- + qcom,mdss-dsi-backlight-version= "PMI8994";
- + qcom,mdss-dsi-backlight-manufacture = "Qualcomm";
- + qcom,mdss-dsi-panel-controller = <&mdss_dsi0>;
- + qcom,mdss-dsi-panel-type = "dsi_cmd_mode";
- + qcom,mdss-dsi-panel-destination = "display_1";
- + qcom,mdss-dsi-panel-framerate = <60>;
- + qcom,mdss-dsi-virtual-channel-id = <0>;
- + qcom,mdss-dsi-stream = <0>;
- + qcom,mdss-dsi-panel-width = <1080>;
- + qcom,mdss-dsi-panel-height = <1920>;
- + qcom,mdss-dsi-h-front-porch = <100>;
- + qcom,mdss-dsi-h-back-porch = <82>;
- + qcom,mdss-dsi-h-pulse-width = <8>;
- + qcom,mdss-dsi-h-sync-skew = <0>;
- + qcom,mdss-dsi-v-back-porch = <7>;
- + qcom,mdss-dsi-v-front-porch = <3>;
- + qcom,mdss-dsi-v-pulse-width = <2>;
- + qcom,mdss-dsi-h-left-border = <0>;
- + qcom,mdss-dsi-h-right-border = <0>;
- + qcom,mdss-dsi-v-top-border = <0>;
- + qcom,mdss-dsi-v-bottom-border = <0>;
- + qcom,mdss-dsi-bpp = <24>;
- + qcom,mdss-dsi-underflow-color = <0x0000ff>;
- + qcom,mdss-dsi-border-color = <0>;
- + qcom,mdss-dsi-on-command = [
- + 15 01 00 00 00 00 02 FF 10
- + 15 01 00 00 00 00 02 35 00
- + 39 01 00 00 00 00 05 2a 00 00 04 37
- + 39 01 00 00 00 00 05 2b 00 00 07 7f
- +
- + 29 01 00 00 00 00 03 44 05 00
- + 15 01 00 00 00 00 02 FF E0
- + 15 01 00 00 00 00 02 B5 86
- + 15 01 00 00 00 00 02 B6 77
- + 15 01 00 00 00 00 02 B8 AD
- + 15 01 00 00 00 00 02 FB 01
- + 15 01 00 00 00 00 02 FF 10
- +
- + 15 01 00 00 00 00 02 36 03 //add for lcd rotater 180
- + 15 01 00 00 00 00 02 FF 23
- + 15 01 00 00 00 00 02 08 03
- + 15 01 00 00 00 00 02 FF 10
- + 15 01 00 00 00 00 02 51 FF
- + 15 01 00 00 00 00 02 53 2C
- + 15 01 00 00 00 00 02 55 02
- +
- + 15 01 00 00 00 00 02 FF 23
- + 15 01 00 00 00 00 02 FB 01
- + 15 01 00 00 00 00 02 05 24
- + 15 01 00 00 00 00 02 01 84
- + 15 01 00 00 00 00 02 FF 10
- +
- + 05 01 00 00 64 00 02 11 00
- + 05 01 00 00 11 00 02 29 00
- +
- + ];
- + qcom,mdss-dsi-off-command = [
- + 15 01 00 00 00 00 02 FF 10
- + 15 01 00 00 00 00 02 53 00
- + 05 01 00 00 11 00 02 28 00
- + 05 01 00 00 32 00 02 10 00];
- +
- + qcom,mdss-dsi-color-test-on-command=
- + [
- + 05 01 00 00 32 00 02 28 00
- + 05 01 00 00 32 00 02 10 00
- + 15 01 00 00 00 00 02 FF 24
- + 15 01 00 00 00 00 02 EC 01
- + 15 01 00 00 00 00 02 FF 20
- + 15 01 00 00 00 00 02 67 4D];
- +
- +
- + qcom,mdss-dsi-color-test-off-command =
- + [
- + 15 01 00 00 00 00 02 FF 24
- + 15 01 00 00 00 00 02 EC 00
- + 15 01 00 00 00 00 02 FF 10
- + 15 01 00 00 00 00 02 35 00
- + 29 01 00 00 00 00 03 44 05 00
- + 15 01 00 00 00 00 02 FF 10
- + 05 01 00 00 78 00 02 11 00
- + 05 01 00 00 32 00 02 29 00];
- +
- + qcom,mdss-dsi-cabc-off-command = [15 01 00 00 10 00 02 55 00
- + 05 01 00 00 10 00 02 29 00];
- + qcom,mdss-dsi-cabc-ui-command = [15 01 00 00 10 00 02 55 01
- + 05 01 00 00 10 00 02 29 00];
- + qcom,mdss-dsi-cabc-still-image-command = [15 01 00 00 10 00 02 55 02
- + 05 01 00 00 10 00 02 29 00];
- + qcom,mdss-dsi-cabc-video-command = [15 01 00 00 10 00 02 55 03
- + 05 01 00 00 10 00 02 29 00];
- +
- + qcom,mdss-dsi-on-command_shoushi = [
- +
- + 15 01 00 00 00 00 02 36 03 //add for lcd rotater 180
- + 15 01 00 00 00 00 02 FF 23
- + 15 01 00 00 00 00 02 08 03
- + 15 01 00 00 00 00 02 FF 10
- + 15 01 00 00 00 00 02 51 FF
- + 15 01 00 00 00 00 02 53 2C
- + 15 01 00 00 00 00 02 55 02
- +
- + 15 01 00 00 00 00 02 FF 23
- + 15 01 00 00 00 00 02 FB 01
- + 15 01 00 00 00 00 02 05 24
- + 15 01 00 00 00 00 02 01 84
- + 15 01 00 00 00 00 02 FF 10
- + 05 01 00 00 78 00 02 11 00
- + 05 01 00 00 60 00 02 29 00
- +
- + ];
- +
- + qcom,mdss-dsi-color-test-on-command-state = "dsi_lp_mode";
- + qcom,mdss-dsi-color-test-off-command-state = "dsi_lp_mode";
- +
- + qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
- + qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
- + qcom,mdss-dsi-h-sync-pulse = <1>;
- + qcom,mdss-dsi-traffic-mode = "burst_mode";
- + qcom,mdss-dsi-lane-map = "lane_map_0123";
- + qcom,mdss-dsi-bllp-eof-power-mode;
- + qcom,mdss-dsi-bllp-power-mode;
- + qcom,mdss-dsi-lane-0-state;
- + qcom,mdss-dsi-lane-1-state;
- + qcom,mdss-dsi-lane-2-state;
- + qcom,mdss-dsi-lane-3-state;
- + qcom,mdss-dsi-panel-timings = [E7 43 37 00 60 6C 39 45 5b 03 04 00];
- +
- +
- +
- + qcom,mdss-dsi-t-clk-post = <0x20>;
- + qcom,mdss-dsi-t-clk-pre = <0x3e>;
- + qcom,mdss-dsi-dma-trigger = "trigger_sw";
- + qcom,mdss-dsi-mdp-trigger = "none";
- + qcom,mdss-dsi-te-pin-select = <1>;
- + qcom,mdss-dsi-wr-mem-start = <0x2c>;
- + qcom,mdss-dsi-wr-mem-continue = <0x3c>;
- + qcom,mdss-dsi-te-dcs-command = <1>;
- + qcom,mdss-dsi-te-check-enable;
- + qcom,mdss-dsi-te-using-te-pin;
- +
- +
- +
- +
- + qcom,mdss-dsi-bl-min-level = <1>;
- + qcom,mdss-dsi-bl-max-level = <4095>;/*guozhiming@oem.cn modify 2015-03-24*/
- + qcom,mdss-dsi-lp11-init;
- + //qcom,mdss-dsi-init-delay-us=<50000>;
- + /**************************************************************************/
- + // qcom,esd-check-enabled;
- + // qcom,mdss-dsi-panel-status-command = [06 01 00 01 05 00 02 0A 08];
- + // qcom,mdss-dsi-panel-status-command-state = "dsi_lp_mode";
- + // qcom,mdss-dsi-panel-status-check-mode = "reg_read_jd35695";
- + // qcom,mdss-dsi-panel-status-read-length = <8>;
- + // qcom,mdss-dsi-panel-max-error-count = <2>;
- + // qcom,mdss-dsi-panel-status-value = <0x9c 0x00 0x00 0x02 0x40 0x80 0x00 0x00>;
- + /******************************************************************************/
- + // qcom,mdss-dsi-dma-trigger = "trigger_sw";
- + // qcom,mdss-dsi-mdp-trigger = "trigger_sw";
- +
- +
- +
- + // qcom,mdss-tear-check-frame-rate=<6000>;
- + //qcom,mdss-tear-check-sync-cfg-height = <1932>; /* Height + VBP + VFP + VSW */
- + //qcom,mdss-tear-check-sync-init-val= <1920>; /* Height */
- + //qcom,mdss-tear-check-sync-threshold-start = <4>;
- + //qcom,mdss-tear-check-sync-threshold-continue = <4>;
- + //qcom,mdss-tear-check-start-pos= <1920>; /* Height */
- + //qcom,mdss-tear-check-rd-ptr-trigger-intr= <1921>; /* Height + 1 */
- +
- +
- + qcom,mdss-pan-physical-width-dimension = <70>;
- + qcom,mdss-pan-physical-height-dimension = <127>;
- +
- + qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
- + qcom,mdss-dsi-reset-sequence = <1 11>, <0 2>, <1 12>;
- +
- + };
- +};
- +
- +
- diff --git a/arch/arm64/boot/dts/14049_HW_11/msm8994.dtsi b/arch/arm64/boot/dts/14049_HW_11/msm8994.dtsi
- new file mode 100644
- index 0000000..21dadf8
- --- /dev/null
- +++ b/arch/arm64/boot/dts/14049_HW_11/msm8994.dtsi
- @@ -0,0 +1,3812 @@
- +/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
- + *
- + * This program is free software; you can redistribute it and/or modify
- + * it under the terms of the GNU General Public License version 2 and
- + * only version 2 as published by the Free Software Foundation.
- + *
- + * This program is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + */
- +
- +/memreserve/ 0x00000000 0x00001000;
- +/memreserve/ 0xac1c0000 0x00001000;
- +
- +#include "skeleton64.dtsi"
- +#include <dt-bindings/clock/msm-clocks-8994.h>
- +
- +/ {
- + model = "Qualcomm Technologies, Inc. MSM 8994";
- + compatible = "qcom,msm8994";
- + qcom,msm-id = <207 0x0>;
- + qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
- + interrupt-parent = <&intc>;
- +
- + chosen {
- + bootargs = "sched_enable_hmp=1 sched_enable_power_aware=1";
- + };
- +
- + aliases {
- + sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
- + /*do not enable sdhc2 and sdhc3
- + sdhc2 = &sdhc_2;
- + sdhc3 = &sdhc_3;
- + */
- + i2c6 = &i2c_6; /* I2C6 NFC qup6 device */
- + i2c1 = &i2c_1;
- + i2c2 = &i2c_2;
- + i2c5 = &i2c_5;
- + spi0 = &spi_0;
- + /*#ifdef VENDOR_EDIT modify for fpc1021 fingerprints*/
- + spi12 = &spi_12;
- + /*#end VENDOR_EDIT*/
- + qup2 = &i2c_2;
- + };
- +
- + cpus {
- + #address-cells = <1>;
- + #size-cells = <0>;
- + cpu-map {
- + cluster0 {
- + core0 {
- + cpu = <&CPU0>;
- + };
- + core1 {
- + cpu = <&CPU1>;
- + };
- + core2 {
- + cpu = <&CPU2>;
- + };
- + core3 {
- + cpu = <&CPU3>;
- + };
- + };
- +
- + cluster1 {
- + core0 {
- + cpu = <&CPU4>;
- + };
- + core1 {
- + cpu = <&CPU5>;
- + };
- + core2 {
- + cpu = <&CPU6>;
- + };
- + core3 {
- + cpu = <&CPU7>;
- + };
- + };
- + };
- +
- + CPU0: cpu@0 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x0>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc0>;
- + qcom,ldo = <&ldo0>;
- + next-level-cache = <&L2_0>;
- + L2_0: l2-cache {
- + compatible = "arm,arch-cache";
- + cache-level = <2>;
- + power-domain = <&l2ccc_0>;
- + qcom,dump-size = <0x0>; /* A53 L2 dump not supported */
- + L2_tlb_0: l2-tlb {
- + qcom,dump-size = <0x4000>;
- + };
- + };
- + L1_I_0: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_0: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU1: cpu@1 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x1>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc1>;
- + qcom,ldo = <&ldo1>;
- + next-level-cache = <&L2_0>;
- + L1_I_1: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_1: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU2: cpu@2 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x2>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc2>;
- + qcom,ldo = <&ldo2>;
- + next-level-cache = <&L2_0>;
- + L1_I_2: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_2: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU3: cpu@3 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x3>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc3>;
- + qcom,ldo = <&ldo3>;
- + next-level-cache = <&L2_0>;
- + L1_I_3: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_3: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU4: cpu@100 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x100>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc4>;
- + qcom,ldo = <&ldo4>;
- + next-level-cache = <&L2_1>;
- + L2_1: l2-cache {
- + compatible = "arm,arch-cache";
- + cache-level = <2>;
- + qcom,dump-size = <0x280040>; /*A57 Cluster L2 size is 1MB */
- + power-domain = <&l2ccc_1>;
- + L2_tlb_1: l2-tlb {
- + qcom,dump-size = <0x4000>;
- + };
- + };
- + L1_itlb_100: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_100: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_100: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_100: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU5: cpu@101 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x101>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc5>;
- + qcom,ldo = <&ldo5>;
- + next-level-cache = <&L2_1>;
- + L1_itlb_101: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_101: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_101: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_101: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU6: cpu@102 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x102>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc6>;
- + qcom,ldo = <&ldo6>;
- + next-level-cache = <&L2_1>;
- + L1_itlb_102: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_102: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_102: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_102: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU7: cpu@103 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x103>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc7>;
- + qcom,ldo = <&ldo7>;
- + next-level-cache = <&L2_1>;
- + L1_itlb_103: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_103: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_103: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_103: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- + };
- +
- + soc: soc { };
- +
- + memory {
- + #address-cells = <2>;
- + #size-cells = <2>;
- +
- + secure_mem: secure_region@0 {
- + linux,reserve-contiguous-region;
- + reg = <0 0 0 0x12c00000>;
- + label = "secure_mem";
- + };
- +
- + adsp_mem: adsp_region@0 {
- + linux,reserve-contiguous-region;
- + reg = <0 0 0 0x3F00000>;
- + label = "adsp_mem";
- + };
- +
- + qsecom_mem: qsecom_region@0 {
- + linux,reserve-contiguous-region;
- reg = <0 0 0 0x1800000>;
- + label = "qseecom_mem";
- + };
- +
- + audio_mem: audio_region@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + reg = <0 0 0 0x614000>;
- + label = "audio_mem";
- + };
- +
- + removed_regions: removed_regions@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + linux,remove-completely;
- + reg = <0 0x06300000 0 0xD00000>;
- + label = "memory_hole";
- + };
- + /*#ifdef VENDOR_EDIT*/
- + nvbackup_regions: nvbackup_regions@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;
- + reg = <0 0x06200000 0 0x100000>;
- + label = "memory_nvbackup";
- + };
- + /*#endif VENDOR_EDIT*/
- + dfps_data_mem: dfps_data_mem@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + reg = <0 0x03400000 0 0x1000>;
- + label = "dfps_data_mem";
- + };
- + cont_splash_mem: cont_splash_mem@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + reg = <0 0x03401000 0 0x2200000>;
- + label = "cont_splash_mem";
- + };
- +
- + peripheral_mem: peripheral_region@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + linux,remove-completely;
- + reg = <0 0x0ca00000 0 0x1f00000>;
- + label = "peripheral_mem";
- + };
- +/*#ifdef VENDOR_EDIT //changhua.li add for enlarge TZ APP memory to 25M*/
- + tzapp_mem: tzapp_region@0 {
- +
- + linux,reserve-contiguous-region;
- +
- + linux,reserve-region;
- +
- + linux,remove-completely;
- +
- + reg = <0 0x0E900000 0 0x1900000>;
- +
- + label = "tzapp_mem";
- +
- + };
- +/*#endif VENDOR_EDIT*/
- +
- +
- + modem_mem: modem_region@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + linux,remove-completely;
- + reg = <0 0x07000000 0 0x5a00000>;
- + label = "modem_mem";
- + };
- +
- +/* #ifdef VENDOR_EDIT // add by xcb for ramoops 2015-03-31 */
- + ramoops_mem: ramoops_region@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;//modify by jiachenghui for ramoops reserve region
- + //linux,remove-completely;//del by jiachenghui for ramoops reserve region
- + reg = <0 0xac000000 0 0x00100000>;//modify from 0x05800000 to 0xac000000 by jiachenghui for ramoops reserve region
- + label = "ramoops_mem";
- + };
- +/* #endif VENDOR_EDIT */
- +
- + param_mem: param_region@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;
- + //linux,remove-completely;
- + reg = <0 0xac200000 0 0x00100000>;
- + label = "param_mem";
- + };
- + mtp_regions: mtp_regions@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;
- + reg = <0 0xAC400000 0 0x00100000>;
- + label = "memory_mtp";
- + };
- + };
- +};
- +
- +#include "msm-gdsc.dtsi"
- +#include "msm8994-smp2p.dtsi"
- +#include "msm8994-ipcrouter.dtsi"
- +#include "msm8994-mdss.dtsi"
- +#include "msm8994-mdss-pll.dtsi"
- +#include "msm8994-bus.dtsi"
- +
- +&soc {
- + #address-cells = <1>;
- + #size-cells = <1>;
- + ranges = <0 0 0 0xffffffff>;
- + compatible = "simple-bus";
- +
- + cpuss@fd4a8000 {
- + compatible = "qcom,cpuss-8994";
- + reg = <0xfd4a8000 0x4>;
- + };
- +
- + acc0:clock-controller@f908b004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9070000 0x1000>,
- + <0xf908b000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc1:clock-controller@f909b004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9071000 0x1000>,
- + <0xf909b000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc2:clock-controller@f90ab004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9072000 0x1000>,
- + <0xf90ab000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc3:clock-controller@f90bb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9073000 0x1000>,
- + <0xf90bb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc4:clock-controller@f90cb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9074000 0x1000>,
- + <0xf90cb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc5:clock-controller@f90db004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9075000 0x1000>,
- + <0xf90db000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc6:clock-controller@f90eb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9076000 0x1000>,
- + <0xf90eb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc7:clock-controller@f90fb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9077000 0x1000>,
- + <0xf90fb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + ldo0:ldo-vref@f9070000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9070000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo1:ldo-vref@f9071000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9071000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo2:ldo-vref@f9072000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9072000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo3:ldo-vref@f9073000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9073000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo4:ldo-vref@f9074000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9074000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- + ldo5:ldo-vref@f9075000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9075000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- + ldo6:ldo-vref@f9076000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9076000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- + ldo7:ldo-vref@f9077000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9077000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- + l2ccc_0: clock-controller@f900d000 {
- + compatible = "qcom,8994-l2ccc";
- + reg = <0xf900d000 0x1000>,
- + <0xf911210c 0x4>;
- + qcom,vctl-node = <&cluster0_spm>;
- + };
- +
- + l2ccc_1: clock-controller@f900f000 {
- + compatible = "qcom,8994-l2ccc";
- + reg = <0xf900f000 0x1000>,
- + <0xf911210c 0x4>;
- + qcom,vctl-node = <&cluster1_spm>;
- + qcom,vctl-val = <0xb8>;
- + };
- +
- + intc: interrupt-controller@f9000000 {
- + compatible = "qcom,msm-qgic2";
- + interrupt-controller;
- + #interrupt-cells = <3>;
- + reg = <0xf9000000 0x1000>,
- + <0xf9002000 0x1000>;
- + };
- +
- + timer {
- + compatible = "arm,armv8-timer";
- + interrupts = <1 2 0xff08>,
- + <1 3 0xff08>,
- + <1 4 0xff08>,
- + <1 1 0xff08>;
- + clock-frequency = <19200000>;
- + };
- +
- + qcom,mpm2-sleep-counter@fc4a3000 {
- + compatible = "qcom,mpm2-sleep-counter";
- + reg = <0xfc4a3000 0x1000>;
- + clock-frequency = <32768>;
- + };
- +
- + timer@f9020000 {
- + #address-cells = <1>;
- + #size-cells = <1>;
- + ranges;
- + compatible = "arm,armv7-timer-mem";
- + reg = <0xf9020000 0x1000>;
- + clock-frequency = <19200000>;
- +
- + frame@f9021000 {
- + frame-number = <0>;
- + interrupts = <0 9 0x4>,
- + <0 8 0x4>;
- + reg = <0xf9021000 0x1000>,
- + <0xf9022000 0x1000>;
- + };
- +
- + frame@f9023000 {
- + frame-number = <1>;
- + interrupts = <0 10 0x4>;
- + reg = <0xf9023000 0x1000>;
- + status = "disabled";
- + };
- +
- + frame@f9024000 {
- + frame-number = <2>;
- + interrupts = <0 11 0x4>;
- + reg = <0xf9024000 0x1000>;
- + status = "disabled";
- + };
- +
- + frame@f9025000 {
- + frame-number = <3>;
- + interrupts = <0 12 0x4>;
- + reg = <0xf9025000 0x1000>;
- + status = "disabled";
- + };
- +
- + frame@f9026000 {
- + frame-number = <4>;
- + interrupts = <0 13 0x4>;
- + reg = <0xf9026000 0x1000>;
- + status = "disabled";
- + };
- +
- + frame@f9027000 {
- + frame-number = <5>;
- + interrupts = <0 14 0x4>;
- + reg = <0xf9027000 0x1000>;
- + status = "disabled";
- + };
- +
- + frame@f9028000 {
- + frame-number = <6>;
- + interrupts = <0 15 0x4>;
- + reg = <0xf9028000 0x1000>;
- + status = "disabled";
- + };
- + };
- +
- + restart@fc4ab000 {
- + compatible = "qcom,pshold";
- + reg = <0xfc4ab000 0x4>;
- + };
- +
- + blsp1_uart3: serial@f991f000 {
- + compatible = "qcom,msm-lsuart-v14";
- + reg = <0xf991f000 0x1000>;
- + interrupts = <0 109 0>;
- + status = "disabled";
- + clock-names = "core_clk", "iface_clk";
- + clocks = <&clock_gcc clk_gcc_blsp1_uart3_apps_clk>,
- + <&clock_gcc clk_gcc_blsp1_ahb_clk>;
- + };
- +
- + blsp1_uart2: serial@f991e000 {
- + compatible = "qcom,msm-lsuart-v14";
- + reg = <0xf991e000 0x1000>;
- + interrupts = <0 108 0>;
- + status = "disabled";
- + clock-names = "core_clk", "iface_clk";
- + clocks = <&clock_gcc clk_gcc_blsp1_uart2_apps_clk>,
- + <&clock_gcc clk_gcc_blsp1_ahb_clk>;
- + };
- +
- + blsp2_uart2: uart@f995e000 { /* BLSP2 UART2 */
- + compatible = "qcom,msm-hsuart-v14";
- + reg = <0xf995e000 0x1000>,
- + <0xf9944000 0x19000>;
- + status = "disabled";
- + reg-names = "core_mem", "bam_mem";
- + interrupt-names = "core_irq", "bam_irq", "wakeup_irq";
- + #address-cells = <0>;
- + interrupt-parent = <&blsp2_uart2>;
- + interrupts = <0 1 2>;
- + #interrupt-cells = <1>;
- + interrupt-map-mask = <0xffffffff>;
- + interrupt-map = <0 &intc 0 114 0
- + 1 &intc 0 239 0
- + 2 &msm_gpio 46 0>;
- +
- + qcom,inject-rx-on-wakeup;
- + qcom,rx-char-to-inject = <0xFD>;
- +
- + qcom,bam-tx-ep-pipe-index = <2>;
- + qcom,bam-rx-ep-pipe-index = <3>;
- + qcom,master-id = <84>;
- + clock-names = "core_clk", "iface_clk";
- + clocks = <&clock_gcc clk_gcc_blsp2_uart2_apps_clk>,
- + <&clock_gcc clk_gcc_blsp2_ahb_clk>;
- + pinctrl-names = "sleep", "default";
- + pinctrl-0 = <&hsuart_sleep>;
- + pinctrl-1 = <&hsuart_active>;
- +
- + qcom,msm-bus,name = "buart8";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <84 512 0 0>,
- + <84 512 500 800>;
- + };
- +
- + qcom,sps@f9984000 {
- + compatible = "qcom,msm_sps";
- + reg-names = "bam_mem", "core_mem";
- + reg = <0xf9984000 0x15000>,
- + <0xf9999000 0xb000>;
- + interrupts = <0 94 0>;
- + qcom,pipe-attr-ee;
- + clocks = <&clock_rpm clk_pnoc_sps_clk>,
- + <&clock_gcc clk_gcc_bam_dma_ahb_clk>;
- + clock-names = "dfab_clk", "dma_bam_pclk";
- + };
- +
- + pcie0: qcom,pcie@fc520000 {
- + compatible = "qcom,pci-msm";
- + cell-index = <0>;
- +
- + reg = <0xfc520000 0x2000>,
- + <0xfc526000 0x1000>,
- + <0xff000000 0xf1d>,
- + <0xff000f20 0xa8>,
- + <0xff100000 0x100000>,
- + <0xff200000 0x100000>,
- + <0xff300000 0xd00000>;
- +
- + reg-names = "parf", "phy", "dm_core", "elbi",
- + "conf", "io", "bars";
- +
- + #address-cells = <0>;
- + interrupt-parent = <&pcie0>;
- + interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12>;
- + #interrupt-cells = <1>;
- + interrupt-map-mask = <0xffffffff>;
- + interrupt-map = <0 &intc 0 243 0
- + 1 &intc 0 244 0
- + 2 &intc 0 245 0
- + 3 &intc 0 247 0
- + 4 &intc 0 248 0
- + 5 &intc 0 249 0
- + 6 &intc 0 250 0
- + 7 &intc 0 251 0
- + 8 &intc 0 252 0
- + 9 &intc 0 253 0
- + 10 &intc 0 254 0
- + 11 &intc 0 255 0>;
- +
- + interrupt-names = "int_msi", "int_a", "int_b", "int_c", "int_d",
- + "int_pls_pme", "int_pme_legacy", "int_pls_err",
- + "int_aer_legacy", "int_pls_link_up",
- + "int_pls_link_down", "int_bridge_flush_n";
- +
- + pinctrl-names = "default";
- + pinctrl-0 = <&pcie0_clkreq_default &pcie0_perst_default &pcie0_wake_default>;
- +
- + perst-gpio = <&msm_gpio 53 0>;
- + wake-gpio = <&msm_gpio 55 0>;
- +
- + gdsc-vdd-supply = <&gdsc_pcie_0>;
- + vreg-1.8-supply = <&pm8994_l12>;
- + vreg-0.9-supply = <&pm8994_l28>;
- +
- + qcom,ep-latency = <10>;
- +
- + qcom,msi-gicm-addr = <0xf9006040>;
- + qcom,msi-gicm-base = <0x180>;
- +
- + qcom,msm-bus,name = "pcie0";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <45 512 0 0>,
- + <45 512 500 800>;
- +
- + qcom,scm-dev-id = <11>;
- +
- + clocks = <&clock_gcc clk_gcc_pcie_0_pipe_clk>,
- + <&clock_rpm clk_ln_bb_clk>,
- + <&clock_gcc clk_gcc_pcie_0_aux_clk>,
- + <&clock_gcc clk_gcc_pcie_0_cfg_ahb_clk>,
- + <&clock_gcc clk_gcc_pcie_0_mstr_axi_clk>,
- + <&clock_gcc clk_gcc_pcie_0_slv_axi_clk>,
- + <&clock_gcc clk_pcie_0_phy_ldo>,
- + <&clock_gcc clk_gcc_pcie_phy_0_reset>;
- +
- + clock-names = "pcie_0_pipe_clk", "pcie_0_ref_clk_src", "pcie_0_aux_clk",
- + "pcie_0_cfg_ahb_clk", "pcie_0_mstr_axi_clk",
- + "pcie_0_slv_axi_clk", "pcie_0_ldo", "pcie_0_phy_reset";
- +
- + max-clock-frequency-hz = <125000000>, <0>, <1011000>, <0>, <0>, <0>, <0>, <0>;
- + };
- +
- + pcie1: qcom,pcie@fc528000 {
- + compatible = "qcom,pci-msm";
- + cell-index = <1>;
- +
- + reg = <0xfc528000 0x2000>,
- + <0xfc52e000 0x1000>,
- + <0xf8800000 0xf1d>,
- + <0xf8800F20 0xa8>,
- + <0xf8801000 0x7f000>,
- + <0xf8880000 0x80000>,
- + <0xf8900000 0x700000>;
- +
- + reg-names = "parf", "phy", "dm_core", "elbi",
- + "conf", "io", "bars";
- +
- + #address-cells = <0>;
- + interrupt-parent = <&pcie1>;
- + interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12>;
- + #interrupt-cells = <1>;
- + interrupt-map-mask = <0xffffffff>;
- + interrupt-map = <0 &intc 0 271 0
- + 1 &intc 0 272 0
- + 2 &intc 0 273 0
- + 3 &intc 0 274 0
- + 4 &intc 0 275 0
- + 5 &intc 0 276 0
- + 6 &intc 0 277 0
- + 7 &intc 0 278 0
- + 8 &intc 0 279 0
- + 9 &intc 0 280 0
- + 10 &intc 0 281 0
- + 11 &intc 0 282 0>;
- +
- + interrupt-names = "int_msi", "int_a", "int_b", "int_c", "int_d",
- + "int_pls_pme", "int_pme_legacy", "int_pls_err",
- + "int_aer_legacy", "int_pls_link_up",
- + "int_pls_link_down", "int_bridge_flush_n";
- +
- + pinctrl-names = "default", "sleep";
- + pinctrl-0 = <&pcie1_clkreq_default &pcie1_perst_default &pcie1_wake_default>;
- + pinctrl-1 = <&pcie1_clkreq_default &pcie1_perst_default &pcie1_wake_sleep>;
- +
- + perst-gpio = <&msm_gpio 35 0>;
- + wake-gpio = <&msm_gpio 37 0>;
- +
- + gdsc-vdd-supply = <&gdsc_pcie_1>;
- + vreg-1.8-supply = <&pm8994_l12>;
- + vreg-0.9-supply = <&pm8994_l28>;
- +
- + qcom,l1-supported;
- + qcom,l1ss-supported;
- + qcom,aux-clk-sync;
- +
- + qcom,ep-latency = <10>;
- +
- + qcom,msi-gicm-addr = <0xf9007040>;
- + qcom,msi-gicm-base = <0x1a0>;
- +
- + qcom,ep-wakeirq;
- +
- + qcom,msm-bus,name = "pcie1";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <100 512 0 0>,
- + <100 512 500 800>;
- +
- + qcom,scm-dev-id = <12>;
- +
- + clocks = <&clock_gcc clk_gcc_pcie_1_pipe_clk>,
- + <&clock_rpm clk_ln_bb_clk>,
- + <&clock_gcc clk_gcc_pcie_1_aux_clk>,
- + <&clock_gcc clk_gcc_pcie_1_cfg_ahb_clk>,
- + <&clock_gcc clk_gcc_pcie_1_mstr_axi_clk>,
- + <&clock_gcc clk_gcc_pcie_1_slv_axi_clk>,
- + <&clock_gcc clk_pcie_1_phy_ldo>,
- + <&clock_gcc clk_gcc_pcie_phy_1_reset>;
- +
- + clock-names = "pcie_1_pipe_clk", "pcie_1_ref_clk_src", "pcie_1_aux_clk",
- + "pcie_1_cfg_ahb_clk", "pcie_1_mstr_axi_clk",
- + "pcie_1_slv_axi_clk", "pcie_1_ldo", "pcie_1_phy_reset";
- +
- + max-clock-frequency-hz = <125000000>, <0>, <1011000>, <0>, <0>, <0>, <0>, <0>;
- + };
- +
- + ipa_hw: qcom,ipa@fd4c0000 {
- + compatible = "qcom,ipa";
- + reg = <0xfd4c0000 0x29000>,
- + <0xfd4c4000 0x15820>;
- + reg-names = "ipa-base", "bam-base";
- + interrupts = <0 301 0>,
- + <0 300 0>;
- + interrupt-names = "ipa-irq", "bam-irq";
- + qcom,ipa-hw-ver = <3>; /* IPA core version = IPAv2.0 */
- + qcom,ipa-hw-mode = <0>; /* IPA hw type = Normal */
- + qcom,wan-rx-ring-size = <192>;
- + qcom,ee = <2>;
- + clock-names = "core_clk";
- + clocks = <&clock_rpm clk_ipa_clk>;
- + qcom,msm-bus,name = "ipa";
- + qcom,msm-bus,num-cases = <3>;
- + qcom,msm-bus,num-paths = <2>;
- + qcom,msm-bus,vectors-KBps =
- + <90 512 0 0>, <90 585 0 0>, /* No vote */
- + <90 512 100000 800000>, <90 585 100000 800000>, /* SVS */
- + <90 512 100000 1200000>, <90 585 100000 1200000>; /* PERF */
- + qcom,bus-vector-names = "MIN", "SVS", "PERF";
- +
- + };
- +
- + qcom,rmnet-ipa {
- + compatible = "qcom,rmnet-ipa";
- + qcom,rmnet-ipa-ssr;
- + qcom,ipa-loaduC;
- + };
- +
- + qcom,ipc-spinlock@fd484000 {
- + compatible = "qcom,ipc-spinlock-sfpb";
- + reg = <0xfd484000 0x400>;
- + qcom,num-locks = <8>;
- + };
- +
- + qcom,smem@6a00000 {
- + compatible = "qcom,smem";
- + reg = <0x6a00000 0x200000>,
- + <0xf900d008 0x4>,
- + <0xfc428000 0x4000>;
- + reg-names = "smem", "irq-reg-base", "aux-mem1";
- + qcom,mpu-enabled;
- +
- + qcom,smd-modem {
- + compatible = "qcom,smd";
- + qcom,smd-edge = <0>;
- + qcom,smd-irq-offset = <0x0>;
- + qcom,smd-irq-bitmask = <0x1000>;
- + interrupts = <0 25 1>;
- + label = "modem";
- + qcom,not-loadable;
- + };
- +
- + qcom,smsm-modem {
- + compatible = "qcom,smsm";
- + qcom,smsm-edge = <0>;
- + qcom,smsm-irq-offset = <0x0>;
- + qcom,smsm-irq-bitmask = <0x2000>;
- + interrupts = <0 26 1>;
- + };
- +
- + qcom,smd-adsp {
- + compatible = "qcom,smd";
- + qcom,smd-edge = <1>;
- + qcom,smd-irq-offset = <0x0>;
- + qcom,smd-irq-bitmask = <0x100>;
- + interrupts = <0 156 1>;
- + label = "adsp";
- + };
- +
- + qcom,smsm-adsp {
- + compatible = "qcom,smsm";
- + qcom,smsm-edge = <1>;
- + qcom,smsm-irq-offset = <0x0>;
- + qcom,smsm-irq-bitmask = <0x200>;
- + interrupts = <0 157 1>;
- + };
- +
- + qcom,smd-rpm {
- + compatible = "qcom,smd";
- + qcom,smd-edge = <15>;
- + qcom,smd-irq-offset = <0x0>;
- + qcom,smd-irq-bitmask = <0x1>;
- + interrupts = <0 168 1>;
- + label = "rpm";
- + qcom,irq-no-suspend;
- + qcom,not-loadable;
- + };
- + };
- +
- + qcom,msm-imem@fe87f000 {
- + compatible = "qcom,msm-imem";
- + reg = <0xfe87f000 0x1000>; /* Address and size of IMEM */
- + ranges = <0x0 0xfe87f000 0x1000>;
- + #address-cells = <1>;
- + #size-cells = <1>;
- +
- + download_mode@0 {
- + compatible = "qcom,msm-imem-download_mode";
- + reg = <0x0 8>;
- + };
- +
- + mem_dump_table@10 {
- + compatible = "qcom,msm-imem-mem_dump_table";
- + reg = <0x10 8>;
- + };
- +
- + restart_reason@65c {
- + compatible = "qcom,msm-imem-restart_reason";
- + reg = <0x65c 4>;
- + };
- +
- + boot_stats@6b0 {
- + compatible = "qcom,msm-imem-boot_stats";
- + reg = <0x6b0 32>;
- + };
- +
- + pil@94c {
- + compatible = "qcom,msm-imem-pil";
- + reg = <0x94c 200>;
- + };
- +
- + emergency_download_mode@fe0 {
- + compatible = "qcom,msm-imem-emergency_download_mode";
- + reg = <0xfe0 12>;
- + };
- + };
- +
- + qcom,wdt@f9017000 {
- + compatible = "qcom,msm-watchdog";
- + reg = <0xf9017000 0x1000>;
- + reg-names = "wdt-base";
- + interrupts = <0 3 0>, <0 4 0>;
- +//liyunbing@BSP, 2015/05/21, WDT bark-time too short cause some task timeout
- + #qcom,bark-time = <11000>;
- + qcom,bark-time = <15000>;
- + qcom,pet-time = <10000>;
- + qcom,ipi-ping;
- + };
- +
- + qcom,msm-rtb {
- + compatible = "qcom,msm-rtb";
- + qcom,rtb-size = <0x100000>;
- + };
- +
- + jtag_fuse: jtagfuse@fc4be024 {
- + compatible = "qcom,jtag-fuse";
- + reg = <0xfc4be024 0x8>;
- + reg-names = "fuse-base";
- + };
- +
- + jtag_mm0: jtagmm@fb840000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfb840000 0x1000>,
- + <0xfb810000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU0>;
- + };
- +
- + jtag_mm1: jtagmm@fb940000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfb940000 0x1000>,
- + <0xfb910000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU1>;
- + };
- +
- + jtag_mm2: jtagmm@fba40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfba40000 0x1000>,
- + <0xfba10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU2>;
- + };
- +
- + jtag_mm3: jtagmm@fbb40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfbb40000 0x1000>,
- + <0xfbb10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU3>;
- + };
- +
- + jtag_mm4: jtagmm@fbc40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfbc40000 0x1000>,
- + <0xfbc10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU4>;
- + };
- +
- + jtag_mm5: jtagmm@fbd40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfbd40000 0x1000>,
- + <0xfbd10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU5>;
- + };
- +
- + jtag_mm6: jtagmm@fbe40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfbe40000 0x1000>,
- + <0xfbe10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU6>;
- + };
- +
- + jtag_mm7: jtagmm@fbf40000 {
- + compatible = "qcom,jtagv8-mm";
- + reg = <0xfbf40000 0x1000>,
- + <0xfbf10000 0x1000>;
- + reg-names = "etm-base","debug-base";
- +
- + clocks = <&clock_rpm clk_qdss_clk>,
- + <&clock_rpm clk_qdss_a_clk>;
- + clock-names = "core_clk", "core_a_clk";
- +
- + qcom,coresight-jtagmm-cpu = <&CPU7>;
- + };
- +
- + rpm_bus: qcom,rpm-smd {
- + compatible = "qcom,rpm-smd";
- + rpm-channel-name = "rpm_requests";
- + rpm-channel-type = <15>; /* SMD_APPS_RPM */
- + };
- +
- + qcom,msm-rng@f9bff000 {
- + compatible = "qcom,msm-rng";
- + reg = <0xf9bff000 0x200>;
- + qcom,msm-bus,name = "msm-rng-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <88 618 0 0>,
- + <88 618 0 800>;
- + qcom,msm-rng-iface-clk;
- + clocks = <&clock_gcc clk_gcc_prng_ahb_clk>;
- + clock-names = "iface_clk";
- + };
- +
- + qcom,rmtfs_sharedmem@00000000 {
- + compatible = "qcom,sharedmem-uio";
- + reg = <0x00000000 0x00180000>;
- + reg-names = "rmtfs";
- + qcom,client-id = <0x00000001>;
- + };
- +
- + qcom,dsp_sharedmem@00000000 {
- + compatible = "qcom,sharedmem-uio";
- + reg = <0x00000000 0x00010000>;
- + reg-names = "rfsa_dsp";
- + qcom,client-id = <0x011013ec>;
- + linux,contiguous-region = <&adsp_mem>;
- + };
- +
- + qcom,mdm_sharedmem@00000000 {
- + compatible = "qcom,sharedmem-uio";
- + reg = <0x00000000 0x00010000>;
- + reg-names = "rfsa_mdm";
- + qcom,client-id = <0x011013ed>;
- + };
- +
- + qcom,sensors_sharedmem@00000000 {
- + compatible = "qcom,sharedmem-uio";
- + reg = <0x00000000 0x00010000>;
- + reg-names = "rfsa_sensor";
- + qcom,client-id = <0x011013ee>;
- + linux,contiguous-region = <&adsp_mem>;
- + };
- +
- + qcom,nvbackup_sharedmem@00000000 {
- + compatible = "qcom,sharedmem-uio";
- + reg = <0x06200000 0x001000000>;
- + reg-names = "nvbackup";
- + qcom,client-id = <0x00000001>;
- + linux,contiguous-region = <&nvbackup_regions>;
- + };
- +
- + sdhc_1: sdhci@f9824900 {
- + compatible = "qcom,sdhci-msm";
- + reg = <0xf9824900 0x1a0>, <0xf9824000 0x800>;
- + reg-names = "hc_mem", "core_mem";
- +
- + interrupts = <0 123 0>, <0 138 0>;
- + interrupt-names = "hc_irq", "pwr_irq";
- +
- + qcom,bus-width = <8>;
- + qcom,cpu-dma-latency-us = <301 70>;
- + qcom,cpu-affinity = "affine_cores";
- + qcom,cpu-affinity-mask = <0x0f 0xf0>;
- + qcom,wakeup-on-idle;
- +
- + qcom,msm-bus,name = "sdhc1";
- + qcom,msm-bus,num-cases = <9>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */
- + <78 512 1600 3200>, /* 400 KB/s*/
- + <78 512 80000 160000>, /* 20 MB/s */
- + <78 512 100000 200000>, /* 25 MB/s */
- + <78 512 200000 400000>, /* 50 MB/s */
- + <78 512 400000 800000>, /* 100 MB/s */
- + <78 512 400000 800000>, /* 200 MB/s */
- + <78 512 400000 800000>, /* 400 MB/s */
- + <78 512 2048000 4096000>; /* Max. bandwidth */
- + qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
- + 100000000 200000000 400000000 4294967295>;
- +
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_sdcc1_ahb_clk>,
- + <&clock_gcc clk_gcc_sdcc1_apps_clk>;
- +
- + status = "disabled";
- + };
- +
- + sdhc_2: sdhci@f98a4900 {
- + compatible = "qcom,sdhci-msm";
- + reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
- + reg-names = "hc_mem", "core_mem";
- +
- + interrupts = <0 125 0>, <0 221 0>;
- + interrupt-names = "hc_irq", "pwr_irq";
- +
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_sdcc2_ahb_clk>,
- + <&clock_gcc clk_gcc_sdcc2_apps_clk>;
- +
- + qcom,bus-width = <4>;
- + qcom,cpu-dma-latency-us = <301 70>;
- + qcom,cpu-affinity = "affine_cores";
- + qcom,cpu-affinity-mask = <0x0f 0xf0>;
- + qcom,wakeup-on-idle;
- +
- + qcom,msm-bus,name = "sdhc2";
- + qcom,msm-bus,num-cases = <8>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */
- + <81 512 1600 3200>, /* 400 KB/s*/
- + <81 512 80000 160000>, /* 20 MB/s */
- + <81 512 100000 200000>, /* 25 MB/s */
- + <81 512 200000 400000>, /* 50 MB/s */
- + <81 512 400000 800000>, /* 100 MB/s */
- + <81 512 800000 800000>, /* 200 MB/s */
- + <81 512 2048000 4096000>; /* Max. bandwidth */
- + qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
- + 100000000 200000000 4294967295>;
- +
- + status = "disabled";
- + };
- +
- + sdhc_3: sdhci@f9864900 {
- + compatible = "qcom,sdhci-msm";
- + reg = <0xf9864900 0x11c>, <0xf9864000 0x800>;
- + reg-names = "hc_mem", "core_mem";
- +
- + interrupts = <0 127 0>, <0 224 0>;
- + interrupt-names = "hc_irq", "pwr_irq";
- +
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_sdcc3_ahb_clk>,
- + <&clock_gcc clk_gcc_sdcc3_apps_clk>;
- +
- + qcom,bus-width = <4>;
- + qcom,cpu-dma-latency-us = <301 70>;
- + qcom,cpu-affinity = "affine_cores";
- + qcom,cpu-affinity-mask = <0x0f 0xf0>;
- + qcom,wakeup-on-idle;
- +
- + qcom,msm-bus,name = "sdhc3";
- + qcom,msm-bus,num-cases = <8>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps = <79 512 0 0>, /* No vote */
- + <79 512 1600 3200>, /* 400 KB/s*/
- + <79 512 80000 160000>, /* 20 MB/s */
- + <79 512 100000 200000>, /* 25 MB/s */
- + <79 512 200000 400000>, /* 50 MB/s */
- + <79 512 400000 800000>, /* 100 MB/s */
- + <79 512 800000 800000>, /* 200 MB/s */
- + <79 512 2048000 4096000>; /* Max. bandwidth */
- + qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000
- + 100000000 200000000 4294967295>;
- + qcom,dat1-mpm-int = <47>;
- + status = "disabled";
- + };
- +
- + ufs_ice: ufsice@fc5a0000 {
- + compatible = "qcom,ice";
- + reg = <0xfc5a0000 0x8000>;
- + interrupt-names = "ufs_ice_nonsec_level_irq", "ufs_ice_sec_level_irq";
- + interrupts = <0 258 0>, <0 257 0>;
- + status = "disabled";
- + };
- +
- + ufsphy1: ufsphy@fc597000 {
- + compatible = "qcom,ufs-phy-qmp-20nm";
- + reg = <0xfc597000 0xda8>;
- + reg-names = "phy_mem";
- + #phy-cells = <0>;
- + vdda-phy-supply = <&pm8994_l28>;
- + vdda-pll-supply = <&pm8994_l12>;
- + vdda-phy-max-microamp = <45000>;
- + vdda-pll-max-microamp = <100>;
- + vddp-ref-clk-supply = <&pm8994_l31>;
- + vddp-ref-clk-max-microamp = <100>;
- + vddp-ref-clk-always-on;
- + clock-names = "ref_clk_src",
- + "ref_clk",
- + "tx_iface_clk",
- + "rx_iface_clk";
- + clocks = <&clock_rpm clk_ln_bb_clk>,
- + <&clock_gcc clk_ufs_phy_ldo>,
- + <&clock_gcc clk_gcc_ufs_tx_cfg_clk>,
- + <&clock_gcc clk_gcc_ufs_rx_cfg_clk>;
- + status = "disabled";
- + };
- +
- + ufs1: ufshc@fc594000 {
- + compatible = "qcom,ufshc";
- + reg = <0xfc594000 0x2500>, <0xfd512074 0x4>;
- + interrupts = <0 265 0>;
- + phys = <&ufsphy1>;
- + phy-names = "ufsphy";
- + ufs-qcom-crypto = <&ufs_ice>;
- + vdd-hba-supply = <&gdsc_ufs>;
- + vdd-hba-fixed-regulator;
- + vcc-supply = <&pm8994_l20>;
- + vccq-supply = <&pm8994_l31>;
- + vccq2-supply = <&pm8994_s4>;
- + vcc-max-microamp = <750000>;
- + vccq-max-microamp = <50000>;
- + vccq2-max-microamp = <750000>;
- +
- + clock-names = "core_clk_src", "core_clk", "bus_clk", "iface_clk",
- + "ref_clk", "rx_lane0_sync_clk", "tx_lane0_sync_clk",
- + "rx_lane1_sync_clk", "tx_lane1_sync_clk";
- + clocks =
- + <&clock_gcc clk_ufs_axi_clk_src>,
- + <&clock_gcc clk_gcc_ufs_axi_clk>,
- + <&clock_gcc clk_gcc_sys_noc_ufs_axi_clk>,
- + <&clock_gcc clk_gcc_ufs_ahb_clk>,
- + <&clock_rpm clk_bb_clk1>,
- + <&clock_gcc clk_gcc_ufs_rx_symbol_0_clk>,
- + <&clock_gcc clk_gcc_ufs_tx_symbol_0_clk>,
- + <&clock_gcc clk_gcc_ufs_rx_symbol_1_clk>,
- + <&clock_gcc clk_gcc_ufs_tx_symbol_1_clk>;
- + qcom,msm-bus,name = "ufs1";
- + qcom,msm-bus,num-cases = <22>;
- + qcom,msm-bus,num-paths = <2>;
- + qcom,msm-bus,vectors-KBps =
- + <95 512 0 0>, <1 650 0 0>, /* No vote */
- + <95 512 922 0>, <1 650 1000 0>, /* PWM G1 */
- + <95 512 1844 0>, <1 650 1000 0>, /* PWM G2 */
- + <95 512 3688 0>, <1 650 1000 0>, /* PWM G3 */
- + <95 512 7376 0>, <1 650 1000 0>, /* PWM G4 */
- + <95 512 1844 0>, <1 650 1000 0>, /* PWM G1 L2 */
- + <95 512 3688 0>, <1 650 1000 0>, /* PWM G2 L2 */
- + <95 512 7376 0>, <1 650 1000 0>, /* PWM G3 L2 */
- + <95 512 14752 0>, <1 650 1000 0>, /* PWM G4 L2 */
- + <95 512 127796 0>, <1 650 1000 0>, /* HS G1 RA */
- + <95 512 255591 0>, <1 650 1000 0>, /* HS G2 RA */
- + <95 512 511181 0>, <1 650 1000 0>, /* HS G3 RA */
- + <95 512 255591 0>, <1 650 1000 0>, /* HS G1 RA L2 */
- + <95 512 511181 0>, <1 650 1000 0>, /* HS G2 RA L2 */
- + <95 512 1022362 0>, <1 650 1000 0>, /* HS G3 RA L2 */
- + <95 512 149422 0>, <1 650 1000 0>, /* HS G1 RB */
- + <95 512 298189 0>, <1 650 1000 0>, /* HS G2 RB */
- + <95 512 596378 0>, <1 650 1000 0>, /* HS G3 RB */
- + <95 512 298189 0>, <1 650 1000 0>, /* HS G1 RB L2 */
- + <95 512 596378 0>, <1 650 1000 0>, /* HS G2 RB L2 */
- + <95 512 1192756 0>, <1 650 1000 0>, /* HS G3 RB L2 */
- + <95 512 4096000 0>, <1 650 1000 0>; /* Max. bandwidth */
- + qcom,bus-vector-names = "MIN",
- + "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1",
- + "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2",
- + "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1",
- + "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2",
- + "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1",
- + "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2",
- + "MAX";
- +
- + qcom,cpu-affinity = "affine_cores";
- + qcom,cpu-affinity-mask = <0xf>; /* little cluster */
- + qcom,cpu-dma-latency-us = <301>;
- +
- + spm-level = <5>;
- + status = "disabled";
- + };
- +
- + spi_0: spi_epm: spi@f9923000 { /* BLSP1 QUP1 */
- + compatible = "qcom,spi-qup-v2";
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg-names = "spi_physical", "spi_bam_physical";
- + reg = <0xf9923000 0x1000>,
- + <0xf9904000 0x19000>;
- + interrupt-names = "spi_irq", "spi_bam_irq";
- + interrupts = <0 95 0>, <0 238 0>;
- + spi-max-frequency = <19200000>;
- +
- + qcom,infinite-mode = <0>;
- + qcom,use-bam;
- + qcom,ver-reg-exists;
- + qcom,bam-consumer-pipe-index = <12>;
- + qcom,bam-producer-pipe-index = <13>;
- + qcom,master-id = <86>;
- + qcom,use-pinctrl;
- + pinctrl-names = "spi_default", "spi_sleep";
- + pinctrl-0 = <&spi_0_active &spi_0_cs1_active>;
- + pinctrl-1 = <&spi_0_sleep &spi_0_cs1_sleep>;
- +
- + clock-names = "iface_clk", "core_clk";
- +
- + clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp1_qup1_spi_apps_clk>;
- + };
- +//#ifdef VENDOR_EDIT
- +/* add for fpc1021 fingerprints */
- + spi_12: spi@f9968000 {
- + compatible = "qcom,spi-qup-v2";
- + //cell-index = <12>; //changhua
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg-names = "spi_physical"/*, "spi_bam_physical"*/;
- +
- + /*Add BAM physical address
- + BLSP1: 0xf9904000
- + BLSP2: 0xf9944000
- + */
- +
- + reg = <0xf9968000 0x1000>/*,
- + <0xf9944000 0x19000>*/;
- +
- + interrupt-names = "spi12_irq"/*, "spi_bam_irq"*/;
- +
- + /* Add BAM IRQ
- + BLSP1: 238
- + BLSP2: 239 ??271??? 239 is offset
- + */
- + interrupts = <0 106 0>/*, <0 239 0>*/;
- +
- + spi-max-frequency = <4800000>;
- +
- + /* //changhua
- + qcom,gpio-mosi = <&msm_gpio 85 0>;
- + qcom,gpio-miso = <&msm_gpio 86 0>;
- + qcom,gpio-clk = <&msm_gpio 88 0>;
- + qcom,gpio-cs0 = <&msm_gpio 87 0>;
- + */
- +
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp2_qup6_spi_apps_clk>;
- +
- + qcom,master-id = <86>;
- + /*qcom,infinite-mode = <0>;
- + qcom,use-bam;
- + qcom,ver-reg-exists;
- + qcom,bam-consumer-pipe-index = <22>;
- + qcom,bam-producer-pipe-index = <23>;
- + */
- + /*lichanghua add for use pinctrl*/
- + /* Assign runtime functions to pins */
- +
- + qcom,use-pinctrl;
- + pinctrl-names = "spi_default", "spi_sleep";
- + pinctrl-0 = <&spi_12_active &spi_12_cs0_active>;
- + pinctrl-1 = <&spi_12_sleep &spi_12_cs0_sleep>;
- +
- + qcom,shared;
- +
- + /*lichanghua add for use pinctrl end*/
- + };
- +//#endif/*VENDOR_EDIT*/
- +
- + qcom,msm-ssc-sensors {
- + compatible = "qcom,msm-ssc-sensors";
- + };
- +
- + qcom,msm-pacman {
- + compatible = "qcom,msm-pacman";
- + };
- +
- + wcd9xxx_intc: wcd9xxx-irq {
- + compatible = "qcom,wcd9xxx-irq";
- + interrupt-controller;
- + #interrupt-cells = <1>;
- + interrupt-parent = <&msm_gpio>;
- + interrupts = <72 0>;
- + interrupt-names = "cdc-int";
- + pinctrl-names = "default";
- + pinctrl-0 = <&wcd_intr_default>;
- + };
- +
- + tspp: msm_tspp@f99d8000 {
- + compatible = "qcom,msm_tspp";
- + reg = <0xf99d8000 0x1000>, /* MSM_TSIF0_PHYS */
- + <0xf99d9000 0x1000>, /* MSM_TSIF1_PHYS */
- + <0xf99da000 0x1000>, /* MSM_TSPP_PHYS */
- + <0xf99c4000 0x11000>; /* MSM_TSPP_BAM_PHYS */
- + reg-names = "MSM_TSIF0_PHYS",
- + "MSM_TSIF1_PHYS",
- + "MSM_TSPP_PHYS",
- + "MSM_TSPP_BAM_PHYS";
- + interrupts = <0 121 0>, /* TSIF_TSPP_IRQ */
- + <0 119 0>, /* TSIF0_IRQ */
- + <0 120 0>, /* TSIF1_IRQ */
- + <0 122 0>; /* TSIF_BAM_IRQ */
- + interrupt-names = "TSIF_TSPP_IRQ",
- + "TSIF0_IRQ",
- + "TSIF1_IRQ",
- + "TSIF_BAM_IRQ";
- +
- + clock-names = "iface_clk", "ref_clk";
- + clocks = <&clock_gcc clk_gcc_tsif_ahb_clk>,
- + <&clock_gcc clk_gcc_tsif_ref_clk>;
- +
- + qcom,msm-bus,name = "tsif";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <82 512 0 0>, /* No vote */
- + <82 512 12288 24576>; /* Max. bandwidth, 2xTSIF, each max of 96Mbps */
- +
- + pinctrl-names = "disabled",
- + "tsif0-mode1", "tsif0-mode2",
- + "tsif1-mode1", "tsif1-mode2",
- + "dual-tsif-mode1", "dual-tsif-mode2";
- +
- + pinctrl-0 = <>; /* disabled */
- + pinctrl-1 = <&tsif0_signals_active>; /* tsif0-mode1 */
- + pinctrl-2 = <&tsif0_signals_active
- + &tsif0_sync_active>; /* tsif0-mode2 */
- + pinctrl-3 = <&tsif1_signals_active>; /* tsif1-mode1 */
- + pinctrl-4 = <&tsif1_signals_active
- + &tsif1_sync_active>; /* tsif1-mode2 */
- + pinctrl-5 = <&tsif0_signals_active
- + &tsif1_signals_active>; /* dual-tsif-mode1 */
- + pinctrl-6 = <&tsif0_signals_active
- + &tsif0_sync_active
- + &tsif1_signals_active
- + &tsif1_sync_active>; /* dual-tsif-mode2 */
- + };
- +
- + slim_msm: slim@fe12f000 {
- + cell-index = <1>;
- + compatible = "qcom,slim-ngd";
- + reg = <0xfe12f000 0x2C000>,
- + <0xfe104000 0x20000>;
- + reg-names = "slimbus_physical", "slimbus_bam_physical";
- + interrupts = <0 163 0>, <0 164 0>;
- + interrupt-names = "slimbus_irq", "slimbus_bam_irq";
- + qcom,apps-ch-pipes = <0x60000000>;
- + qcom,ea-pc = <0x110>;
- +
- + tomtom_codec {
- + compatible = "qcom,tomtom-slim-pgd";
- + elemental-addr = [00 01 30 01 17 02];
- +
- + interrupt-parent = <&wcd9xxx_intc>;
- + interrupts = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
- + 17 18 19 20 21 22 23 24 25 26 27 28 29
- + 30 31>;
- +
- + qcom,cdc-reset-gpio = <&msm_gpio 68 0>;
- +
- + cdc-vdd-buck-supply = <&pm8994_s5>;
- + qcom,cdc-vdd-buck-voltage = <2150000 2150000>;
- + qcom,cdc-vdd-buck-current = <650000>;
- +
- + cdc-vdd-tx-h-supply = <&pm8994_s4>;
- + qcom,cdc-vdd-tx-h-voltage = <1800000 1800000>;
- + qcom,cdc-vdd-tx-h-current = <25000>;
- +
- + cdc-vdd-rx-h-supply = <&pm8994_s4>;
- + qcom,cdc-vdd-rx-h-voltage = <1800000 1800000>;
- + qcom,cdc-vdd-rx-h-current = <25000>;
- +
- + cdc-vddpx-1-supply = <&pm8994_s4>;
- + qcom,cdc-vddpx-1-voltage = <1800000 1800000>;
- + qcom,cdc-vddpx-1-current = <10000>;
- +
- + cdc-vdd-a-1p2v-supply = <&pm8994_l11>;
- + qcom,cdc-vdd-a-1p2v-voltage = <1200000 1200000>;
- + qcom,cdc-vdd-a-1p2v-current = <2000>;
- +
- + cdc-vddcx-1-supply = <&pm8994_l11>;
- + qcom,cdc-vddcx-1-voltage = <1200000 1200000>;
- + qcom,cdc-vddcx-1-current = <33000>;
- +
- + cdc-vddcx-2-supply = <&pm8994_l11>;
- + qcom,cdc-vddcx-2-voltage = <1200000 1200000>;
- + qcom,cdc-vddcx-2-current = <33000>;
- +
- + qcom,cdc-static-supplies = "cdc-vdd-buck",
- + "cdc-vdd-tx-h",
- + "cdc-vdd-rx-h",
- + "cdc-vddpx-1",
- + "cdc-vdd-a-1p2v",
- + "cdc-vddcx-1",
- + "cdc-vddcx-2";
- +
- + qcom,cdc-micbias-ldoh-v = <0x3>;
- + qcom,cdc-micbias-cfilt1-mv = <1800>;
- + //#ifdef VENDOR_EDIT
- + /*wangdongdong@MultiMedia.AudioDrv , 2015/3/24, modify micbias voltage*/
- + /*kangjirui@MultiMedia.AudioDrv , 2015/4/18, modify micbias voltage for headset button error*/
- + qcom,cdc-micbias-cfilt2-mv = <2700>;
- + //#endif /* VENDOR_EDIT */
- + qcom,cdc-micbias-cfilt3-mv = <1800>;
- + qcom,cdc-micbias1-cfilt-sel = <0x0>;
- + qcom,cdc-micbias2-cfilt-sel = <0x1>;
- + qcom,cdc-micbias3-cfilt-sel = <0x2>;
- + qcom,cdc-micbias4-cfilt-sel = <0x2>;
- + qcom,cdc-mclk-clk-rate = <9600000>;
- + qcom,cdc-slim-ifd = "tomtom-slim-ifd";
- + qcom,cdc-slim-ifd-elemental-addr = [00 00 30 01 17 02];
- + qcom,cdc-dmic-sample-rate = <4800000>;
- + qcom,cdc-mad-dmic-rate = <600000>;
- + qcom,cdc-variant = "WCD9330";
- + qcom,cdc-spkdrv-ocp-curr-limit-mA = <2625>;
- + };
- + };
- +
- + spmi_bus: qcom,spmi@fc4c0000 {
- + compatible = "qcom,spmi-pmic-arb";
- + reg-names = "core", "intr", "cnfg";
- + reg = <0xfc4cf000 0x1000>,
- + <0xfc4cb000 0x1000>,
- + <0xfc4ca000 0x1000>;
- + /* 190,ee0_krait_hlos_spmi_periph_irq */
- + /* 187,channel_0_krait_hlos_trans_done_irq */
- + interrupts = <0 190 0>, <0 187 0>;
- + qcom,pmic-arb-channel = <0>;
- + qcom,pmic-arb-ee = <0>;
- + #interrupt-cells = <3>;
- + interrupt-controller;
- + #address-cells = <1>;
- + #size-cells = <0>;
- + cell-index = <0>;
- + };
- +
- + usb3: ssusb@f9200000 {
- + compatible = "qcom,dwc-usb3-msm";
- + status = "disabled";
- + reg = <0xf9200000 0xfc000>,
- + <0xfd4ab000 0x4>;
- + #address-cells = <1>;
- + #size-cells = <1>;
- + ranges;
- +
- + interrupt-parent = <&usb3>;
- + interrupts = <0 1>;
- + #interrupt-cells = <1>;
- + interrupt-map-mask = <0x0 0xffffffff>;
- + interrupt-map = <0x0 0 &intc 0 133 0
- + 0x0 1 &intc 0 180 0
- + 0x0 1 &spmi_bus 0x0 0x0 0x9 0x0>;
- + interrupt-names = "hs_phy_irq", "pwr_event_irq", "pmic_id_irq";
- +
- + USB3_GDSC-supply = <&gdsc_usb30>;
- + vdda33-supply = <&pm8994_l24>;
- + vbus_dwc3-supply = <&smbcharger_charger_otg>;
- + qcom,dwc-usb3-msm-tx-fifo-size = <29696>;
- + qcom,dwc-usb3-msm-qdss-tx-fifo-size = <8192>;
- + qcom,usb-dbm = <&dbm_1p5>;
- +
- + qcom,msm-bus,name = "usb3";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <61 512 0 0>,
- + <61 512 240000 960000>;
- +
- + qcom,power-collapse-on-cable-disconnect;
- + qcom,por-after-power-collapse;
- +
- + clocks = <&clock_gcc clk_gcc_usb30_master_clk>,
- + <&clock_gcc clk_gcc_sys_noc_usb3_axi_clk>,
- + <&clock_gcc clk_gcc_usb30_mock_utmi_clk>,
- + <&clock_gcc clk_gcc_usb30_sleep_clk>,
- + <&clock_rpm clk_ln_bb_clk>,
- + <&clock_rpm clk_cxo_dwc3_clk>;
- + clock-names = "core_clk", "iface_clk", "utmi_clk", "sleep_clk",
- + "ref_clk", "xo";
- +
- + dwc3@f9200000 {
- + compatible = "synopsys,dwc3";
- + reg = <0xf9200000 0xfc000>;
- + interrupt-parent = <&intc>;
- + interrupts = <0 131 0>;
- + tx-fifo-resize;
- + snps,usb3-u1u2-disable;
- + usb-phy = <&hsphy0>, <&ssphy0>;
- + };
- + };
- +
- + hsphy0: hsphy@f92f8800 {
- + compatible = "qcom,usb-hsphy";
- + status = "disabled";
- + reg = <0xf92f8800 0x3ff>,
- + <0xf9b3a000 0x110>;
- + reg-names = "core", "phy_csr";
- + // #ifdef VENDOR_EDIT
- + /*modify by jiachenghui from 0x00D191A4 to 0x00D191A7 for OTG 2015-04-22*/
- + /*change HS DC voltage-level to 0x0011 by jiachenghui for OTG detect issue 2015-05-23*/
- + qcom,hsphy-init = <0x00D187A7>;
- + //#endif /*VENDOR_EDIT*/
- + vdd-supply = <&pm8994_s2_corner>;
- + vddcx-supply = <&pm8994_s1_corner>;
- + vdda18-supply = <&pm8994_l6>;
- + vdda33-supply = <&pm8994_l24>;
- + qcom,vdd-voltage-level = <1 5 7>;
- + qcom,ext-vbus-id;
- + qcom,vbus-valid-override;
- + qcom,set-pllbtune;
- + qcom,sleep-clk-reset;
- + qcom,vdda-force-on;
- + clocks = <&clock_gcc clk_gcc_usb2_hs_phy_sleep_clk>;
- + clock-names = "phy_sleep_clk";
- + };
- +
- + ssphy0: ssphy@f9b38000 {
- + compatible = "qcom,usb-ssphy-qmp";
- + status = "disabled";
- + reg = <0xf9b38000 0x800>,
- + <0xf9b3e000 0x3ff>;
- + reg-names = "qmp_phy_base",
- + "qmp_ahb2phy_base";
- + vdd-supply = <&pm8994_l28>;
- + vdda18-supply = <&pm8994_l6>;
- + qcom,vdd-voltage-level = <0 1000000 1000000>;
- + qcom,vbus-valid-override;
- + qcom,no-pipe-clk-switch;
- +
- + clocks = <&clock_gcc clk_gcc_usb3_phy_aux_clk>,
- + <&clock_gcc clk_gcc_usb3_phy_pipe_clk>,
- + <&clock_gcc clk_gcc_usb_phy_cfg_ahb2phy_clk>,
- + <&clock_gcc clk_gcc_usb3_phy_reset>,
- + <&clock_gcc clk_gcc_usb3phy_phy_reset>,
- + <&clock_gcc clk_usb_ss_phy_ldo>;
- + clock-names = "aux_clk", "pipe_clk", "cfg_ahb_clk", "phy_reset",
- + "phy_phy_reset", "ldo_clk";
- + };
- +
- + dbm_1p5: dbm@f92f8000 {
- + compatible = "qcom,usb-dbm-1p5";
- + reg = <0xf92f8000 0x1000>;
- + qcom,reset-ep-after-lpm-resume;
- + };
- +
- + qcom,usbbam@f9304000 {
- + compatible = "qcom,usb-bam-msm";
- + reg = <0xf9304000 0x9000>,
- + <0xf92f880c 0x4>;
- + reg-names = "ssusb", "qscratch_ram1_reg";
- + interrupts = <0 132 0>;
- + interrupt-names = "ssusb";
- + clocks = <&clock_gcc clk_gcc_usb30_master_clk>,
- + <&clock_gcc clk_gcc_sys_noc_usb3_axi_clk>;
- + clock-names = "mem_clk", "mem_iface_clk";
- +
- + qcom,usb-bam-fifo-baseaddr = <0xf9200000>;
- + qcom,usb-bam-num-pipes = <16>;
- + qcom,ignore-core-reset-ack;
- + qcom,disable-clk-gating;
- + qcom,usb-bam-override-threshold = <0x4001>;
- + qcom,usb-bam-max-mbps-highspeed = <400>;
- + qcom,usb-bam-max-mbps-superspeed = <3600>;
- +
- + qcom,pipe0 {
- + label = "ssusb-ipa-out-0";
- + qcom,usb-bam-mem-type = <2>;
- + qcom,bam-type = <0>;
- + qcom,dir = <0>;
- + qcom,pipe-num = <0>;
- + qcom,peer-bam = <2>;
- + qcom,src-bam-physical-address = <0xf9304000>;
- + qcom,src-bam-pipe-index = <1>;
- + qcom,data-fifo-size = <0x8000>;
- + qcom,descriptor-fifo-size = <0x2000>;
- + qcom,reset-bam-on-connect;
- + };
- + qcom,pipe1 {
- + label = "ssusb-ipa-in-0";
- + qcom,usb-bam-mem-type = <2>;
- + qcom,bam-type = <0>;
- + qcom,dir = <1>;
- + qcom,pipe-num = <0>;
- + qcom,peer-bam = <2>;
- + qcom,dst-bam-physical-address = <0xf9304000>;
- + qcom,dst-bam-pipe-index = <0>;
- + qcom,data-fifo-size = <0x8000>;
- + qcom,descriptor-fifo-size = <0x2000>;
- + qcom,reset-bam-on-connect;
- + };
- + qcom,pipe2 {
- + label = "ssusb-qdss-in-0";
- + qcom,usb-bam-mem-type = <1>;
- + qcom,bam-type = <0>;
- + qcom,dir = <1>;
- + qcom,pipe-num = <0>;
- + qcom,peer-bam = <1>;
- + qcom,src-bam-physical-address = <0xfc37C000>;
- + qcom,src-bam-pipe-index = <0>;
- + qcom,dst-bam-physical-address = <0xf9304000>;
- + qcom,dst-bam-pipe-index = <2>;
- + qcom,data-fifo-offset = <0xf0000>;
- + qcom,data-fifo-size = <0x1800>;
- + qcom,descriptor-fifo-offset = <0xf4000>;
- + qcom,descriptor-fifo-size = <0x1400>;
- + qcom,reset-bam-on-connect;
- + };
- +
- + /* USB BAM pipe (consumer) configuration for accelerated DPL */
- + qcom,pipe3 {
- + label = "ssusb-dpl-ipa-in-1";
- + qcom,usb-bam-mem-type = <2>;
- + qcom,bam-type = <0>;
- + qcom,dir = <1>;
- + qcom,pipe-num = <1>;
- + qcom,peer-bam = <2>;
- + qcom,dst-bam-physical-address = <0xf9304000>;
- + qcom,dst-bam-pipe-index = <2>;
- + qcom,data-fifo-size = <0x8000>;
- + qcom,descriptor-fifo-size = <0x2000>;
- + qcom,reset-bam-on-connect;
- + };
- + };
- +
- + usb_otg: usb@f9a55000 {
- + compatible = "qcom,hsusb-otg";
- + status = "disabled";
- +
- + reg = <0xf9a55000 0x400>;
- + reg-names = "core";
- + interrupts = <0 134 0 0 140 0>;
- + interrupt-names = "core_irq", "async_irq";
- +
- + HSUSB_VDDCX-supply = <&pm8994_s2_corner>;
- + HSUSB_1p8-supply = <&pm8994_l6>;
- + HSUSB_3p3-supply = <&pm8994_l24>;
- + qcom,vdd-voltage-level = <1 5 7>;
- +
- + clocks = <&clock_gcc clk_gcc_usb_hs_system_clk>,
- + <&clock_gcc clk_gcc_usb_hs_ahb_clk>,
- + <&clock_gcc clk_gcc_usb2_hs_phy_sleep_clk>,
- + <&clock_rpm clk_cxo_otg_clk>;
- + clock-names = "core_clk", "iface_clk", "sleep_clk", "xo";
- +
- + qcom,hsusb-otg-phy-type = <2>;
- + qcom,hsusb-otg-phy-init-seq = <0x63 0x81 0xffffffff>;
- + qcom,hsusb-otg-mode = <1>;
- + qcom,hsusb-otg-otg-control = <1>;
- + };
- +
- + usb_ehci: ehci@f9a55000 {
- + compatible = "qcom,ehci-host";
- + status = "disabled";
- + reg = <0xf9a55000 0x400>;
- + interrupts = <0 134 0>, <0 140 0>;
- + interrupt-names = "core_irq", "async_irq";
- + hsusb_vdd_dig-supply = <&pm8994_s2_corner>;
- + HSUSB_1p8-supply = <&pm8994_l6>;
- + HSUSB_3p3-supply = <&pm8994_l24>;
- + qcom,vdd-voltage-level = <1 2 3 5 7>;
- + qcom,usb2-power-budget = <500>;
- + usb-phy = <&qusb_phy>;
- + qcom,pm-qos-latency = <30001>;
- +
- + qcom,msm-bus,name = "usb-hs";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <87 512 0 0>,
- + <87 512 40000 60000>;
- +
- + clocks = <&clock_gcc clk_gcc_usb_hs_system_clk>,
- + <&clock_gcc clk_gcc_usb_hs_ahb_clk>,
- + <&clock_rpm clk_cxo_otg_clk>;
- + clock-names = "core_clk", "iface_clk", "xo";
- + };
- +
- + qusb_phy: qusb@f9b39000 {
- + compatible = "qcom,qusb2phy";
- + status = "disabled";
- + reg = <0xf9b39000 0x17f>;
- + reg-names = "qusb_phy_base";
- + vdd-supply = <&pm8994_s2_corner>;
- + vdda18-supply = <&pm8994_l6>;
- + vdda33-supply = <&pm8994_l24>;
- + qcom,vdd-voltage-level = <1 5 7>;
- + qcom,qusb-tune = <0xa08391d5>;
- + phy_type = "ulpi";
- + clocks = <&clock_rpm clk_ln_bb_clk>,
- + <&clock_gcc clk_gcc_usb_phy_cfg_ahb2phy_clk>,
- + <&clock_gcc clk_gcc_qusb2_phy_reset>;
- + clock-names = "ref_clk", "cfg_ahb_clk", "phy_reset";
- + };
- +
- + android_usb@fe87f0c8 {
- + compatible = "qcom,android-usb";
- + reg = <0xfe87f0c8 0xc8>;
- + qcom,pm-qos-latency = <61 637 1261>;
- + /*add by jiachenghui for cdrom,20150528*/
- + /*#ifdef VENDOR_EDIT*/
- + qcom,android-usb-cdrom;
- + /*#ifdef VENDOR_EDIT*/
- + /*end add by jiachenghui for cdrom,20150528*/
- + };
- +
- + qcom,venus@fdce0000 {
- + compatible = "qcom,pil-tz-generic";
- + reg = <0xfdce0000 0x4000>;
- +
- + vdd-supply = <&gdsc_venus>;
- + qcom,proxy-reg-names = "vdd";
- + clock-names = "core_clk", "iface_clk",
- + "bus_clk", "mem_clk", "scm_ce1_clk";
- + qcom,proxy-clock-names = "core_clk", "iface_clk",
- + "bus_clk", "mem_clk", "scm_ce1_clk";
- + qcom,scm_ce1_clk-freq = <85710000>;
- +
- + clocks = <&clock_mmss clk_venus0_vcodec0_clk>,
- + <&clock_mmss clk_venus0_ahb_clk>,
- + <&clock_mmss clk_venus0_axi_clk>,
- + <&clock_mmss clk_venus0_ocmemnoc_clk>,
- + <&clock_rpm clk_scm_ce1_clk>;
- +
- + qcom,msm-bus,name = "pil-venus";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 0 304000>;
- + qcom,pas-id = <9>;
- + qcom,proxy-timeout-ms = <100>;
- + qcom,firmware-name = "venus";
- + linux,contiguous-region = <&peripheral_mem>;
- + };
- +
- + qcom,mss@fc880000 {
- + compatible = "qcom,pil-q6v55-mss";
- + reg = <0xfc880000 0x100>,
- + <0xfd485000 0x400>,
- + <0xfc820000 0x020>,
- + <0xfc401680 0x004>;
- + reg-names = "qdsp6_base", "halt_base", "rmb_base",
- + "restart_reg";
- +
- + clocks = <&clock_rpm clk_cxo_clk_src>,
- + <&clock_rpm clk_mss_cfg_ahb_clk>,
- + <&clock_rpm clk_pnoc_modem_clk>,
- + <&clock_gcc clk_gcc_mss_q6_bimc_axi_clk>,
- + <&clock_gcc clk_gcc_boot_rom_ahb_clk>,
- + <&clock_gcc clk_gpll0_out_msscc>;
- + clock-names = "xo", "iface_clk", "pnoc_clk", "bus_clk",
- + "mem_clk", "gpll0_mss_clk";
- + qcom,proxy-clock-names = "xo", "pnoc_clk";
- + qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk",
- + "gpll0_mss_clk";
- +
- + interrupts = <0 24 1>;
- + vdd_mss-supply = <&pm8994_s7>;
- + vdd_cx-supply = <&pm8994_s1_corner>;
- + vdd_mx-supply = <&pm8994_s2_corner>;
- + vdd_mx-uV = <7>;
- + vdd_pll-supply = <&pm8994_l12>;
- + qcom,vdd_pll = <1800000>;
- + qcom,firmware-name = "modem";
- + qcom,pil-self-auth;
- + qcom,mba-image-is-not-elf;
- + qcom,sysmon-id = <0>;
- + qcom,ssctl-instance-id = <0x12>;
- + qcom,override-acc;
- + qcom,ahb-clk-vote;
- + qcom,pnoc-clk-vote;
- +
- + /* GPIO inputs from mss */
- + qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
- + qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
- + qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
- + qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;
- +
- + /* GPIO output to mss */
- + qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;
- +
- + linux,contiguous-region = <&modem_mem>;
- + };
- +
- + qcom,lpass@fe200000 {
- + compatible = "qcom,pil-tz-generic";
- + reg = <0xfe200000 0x00100>;
- + interrupts = <0 162 1>;
- +
- + vdd_cx-supply = <&pm8994_s1_corner>;
- + qcom,proxy-reg-names = "vdd_cx";
- + qcom,vdd_cx-uV-uA = <7 100000>;
- +
- + clocks = <&clock_rpm clk_cxo_pil_lpass_clk>,
- + <&clock_rpm clk_scm_ce1_clk>;
- + clock-names = "xo", "scm_ce1_clk";
- + qcom,proxy-clock-names = "xo", "scm_ce1_clk";
- + qcom,scm_ce1_clk-freq = <85710000>;
- +
- + qcom,pas-id = <1>;
- + qcom,proxy-timeout-ms = <10000>;
- + qcom,smem-id = <423>;
- + qcom,sysmon-id = <1>;
- + qcom,ssctl-instance-id = <0x14>;
- + qcom,firmware-name = "adsp";
- +
- + /* GPIO inputs from lpass */
- + qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
- + qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
- + qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
- + qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;
- +
- + /* GPIO output to lpass */
- + qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
- +
- + linux,contiguous-region = <&peripheral_mem>;
- + };
- +
- +/* #ifdef VENDOR_EDIT // add by xcb for ramoops 2015-03-31 */
- + ramoops {
- + compatible = "ramoops";
- + /*reg = <0x05800000 0x00100000>;*/
- + linux,contiguous-region = <&ramoops_mem>;
- + };
- +/* #endif VENDOR_EDIT */
- +
- +
- + clock_rpm: qcom,rpmcc@fc401880 {
- + compatible = "qcom,rpmcc-8994";
- + reg = <0xfc401880 0x4>;
- + reg-names = "cc_base";
- + #clock-cells = <1>;
- + };
- +
- + clock_gcc: qcom,gcc@fc400000 {
- + compatible = "qcom,gcc-8994";
- + reg = <0xfc400000 0x2000>;
- + reg-names = "cc_base";
- + vdd_dig-supply = <&pm8994_s1_corner>;
- + clock-names = "xo", "xo_a_clk";
- + clocks = <&clock_rpm clk_cxo_clk_src>,
- + <&clock_rpm clk_cxo_clk_src_ao>;
- + #clock-cells = <1>;
- + };
- +
- + clock_mmss: qcom,mmsscc@fd8c0000 {
- + compatible = "qcom,mmsscc-8994";
- + reg = <0xfd8c0000 0x5200>;
- + reg-names = "cc_base";
- + vdd_dig-supply = <&pm8994_s1_corner>;
- + mmpll4_dig-supply = <&pm8994_s1_corner>;
- + mmpll4_analog-supply = <&pm8994_l12>;
- + clock-names = "xo", "gpll0", "mmssnoc_ahb",
- + "oxili_gfx3d_clk", "pclk0_src", "pclk1_src",
- + "byte0_src", "byte1_src", "extpclk_src";
- + clocks = <&clock_rpm clk_cxo_clk_src>,
- + <&clock_gcc clk_gpll0_out_mmsscc>,
- + <&clock_rpm clk_mmssnoc_ahb_clk>,
- + <&clock_rpm clk_oxili_gfx3d_clk_src>,
- + <&mdss_dsi0_pll clk_mdss_pixel_clk_mux>,
- + <&mdss_dsi0_pll clk_mdss_pixel_clk_mux>,
- + <&mdss_dsi0_pll clk_mdss_byte_clk_mux>,
- + <&mdss_dsi0_pll clk_mdss_byte_clk_mux>,
- + <&mdss_hdmi_pll clk_hdmi_20nm_vco_clk>;
- + #clock-cells = <1>;
- + };
- +
- + clock_debug: qcom,cc-debug@fc401880 {
- + compatible = "qcom,cc-debug-8994";
- + reg = <0xfc401880 0x4>;
- + reg-names = "cc_base";
- + clock-names = "debug_mmss_clk", "debug_rpm_clk",
- + "debug_cpu_clk";
- + clocks = <&clock_mmss clk_mmss_debug_mux>,
- + <&clock_rpm clk_rpm_debug_mux>,
- + <&clock_cpu clk_cpu_debug_mux>;
- + #clock-cells = <1>;
- + };
- +
- + cci_cache: qcom,cci {
- + compatible = "devfreq-simple-dev";
- + clock-names = "devfreq_clk";
- + clocks = <&clock_cpu clk_cci_clk>;
- + governor = "cpufreq";
- + freq-tbl-khz =
- + < 150000 >,
- + < 200000 >,
- + < 249600 >,
- + < 300000 >,
- + < 384000 >,
- + < 499200 >,
- + < 600000 >;
- + };
- +
- + cpubw: qcom,cpubw {
- + compatible = "qcom,devbw";
- + governor = "cpufreq";
- + qcom,src-dst-ports = <1 512>;
- + qcom,active-only;
- + qcom,bw-tbl =
- + < 1525 /* 200 MHz */ >,
- + < 2288 /* 300 MHz */ >,
- + < 3509 /* 460 MHz */ >,
- + < 4066 /* 533 MHz */ >,
- + < 5126 /* 672 MHz */ >,
- + < 5928 /* 777 MHz */ >,
- + < 7904 /* 1036 MHz */ >,
- + < 9887 /* 1296 MHz */ >,
- + < 11863 /* 1555 MHz */ >;
- + };
- +
- + qcom,cpu-bwmon {
- + compatible = "qcom,bimc-bwmon";
- + reg = <0xfc388000 0x300>, <0xfc381000 0x200>;
- + reg-names = "base", "global_base";
- + interrupts = <0 183 4>;
- + qcom,mport = <0>;
- + qcom,target-dev = <&cpubw>;
- + };
- +
- + mincpubw: qcom,mincpubw {
- + compatible = "qcom,devbw";
- + governor = "powersave";
- + qcom,src-dst-ports = <1 512>;
- + qcom,active-only;
- + qcom,bw-tbl =
- + < 1525 /* 200 MHz */ >,
- + < 2288 /* 300 MHz */ >,
- + < 3509 /* 460 MHz */ >,
- + < 4066 /* 533 MHz */ >,
- + < 5126 /* 672 MHz */ >,
- + < 5928 /* 777 MHz */ >,
- + < 7904 /* 1036 MHz */ >,
- + < 9887 /* 1296 MHz */ >,
- + < 11863 /* 1555 MHz */ >;
- + };
- +
- + devfreq_cpufreq: devfreq-cpufreq {
- + cpubw-cpufreq {
- + target-dev = <&cpubw>;
- + cpu-to-dev-map-0 =
- + < 199200 1525 >,
- + < 302400 1525 >,
- + < 384000 1525 >,
- + < 600000 1525 >,
- + < 691200 2288 >,
- + < 768000 3562 >,
- + < 844800 4066 >,
- + < 921600 5126 >,
- + < 940800 6072 >;
- + cpu-to-dev-map-4 =
- + < 199200 1525 >,
- + < 302400 1525 >,
- + < 384000 1525 >,
- + < 600000 2288 >,
- + < 691200 3562 >,
- + < 768000 4066 >,
- + < 844800 5126 >,
- + < 921600 6072 >;
- + };
- +
- + mincpubw-cpufreq {
- + target-dev = <&mincpubw>;
- + cpu-to-dev-map-0 =
- + < 199200 1525 >,
- + < 302400 1525 >,
- + < 384000 2288 >,
- + < 600000 3509 >,
- + < 691200 4066 >,
- + < 768000 5126 >,
- + < 844800 5928 >,
- + < 921600 5928 >,
- + < 940800 5928 >;
- + cpu-to-dev-map-4 =
- + < 199200 1525 >,
- + < 302400 1525 >,
- + < 384000 2288 >,
- + < 600000 3509 >,
- + < 691200 4066 >,
- + < 768000 5126 >,
- + < 844800 5928 >,
- + < 921600 5928 >;
- + };
- +
- + cci-cpufreq {
- + target-dev = <&cci_cache>;
- + cpu-to-dev-map-0 =
- + < 199200 150000 >,
- + < 302400 200000 >,
- + < 384000 249600 >,
- + < 600000 300000 >,
- + < 691200 384000 >,
- + < 768000 384000 >,
- + < 844800 499200 >,
- + < 921600 600000 >,
- + < 940800 600000 >;
- + cpu-to-dev-map-4 =
- + < 199200 150000 >,
- + < 302400 200000 >,
- + < 384000 249600 >,
- + < 600000 300000 >,
- + < 691200 384000 >,
- + < 768000 499200 >,
- + < 844800 600000 >,
- + < 921600 600000 >;
- + };
- + };
- +
- + msm_cpufreq: qcom,msm-cpufreq {
- + compatible = "qcom,msm-cpufreq";
- + clock-names = "l2_clk", "cpu0_clk", "cpu1_clk", "cpu2_clk",
- + "cpu3_clk", "cpu4_clk", "cpu5_clk",
- + "cpu6_clk", "cpu7_clk";
- + clocks = <&clock_cpu clk_cci_clk>,
- + <&clock_cpu clk_a53_clk>,
- + <&clock_cpu clk_a53_clk>,
- + <&clock_cpu clk_a53_clk>,
- + <&clock_cpu clk_a53_clk>,
- + <&clock_cpu clk_a57_clk>,
- + <&clock_cpu clk_a57_clk>,
- + <&clock_cpu clk_a57_clk>,
- + <&clock_cpu clk_a57_clk>;
- +
- + qcom,governor-per-policy;
- +
- + qcom,cpufreq-table-0 =
- + < 199200 >,
- + < 302400 >,
- + < 384000 >,
- + < 600000 >,
- + < 691200 >,
- + < 768000 >,
- + < 844800 >,
- + < 921600 >,
- + < 940800 >;
- +
- + qcom,cpufreq-table-4 =
- + < 199200 >,
- + < 302400 >,
- + < 384000 >,
- + < 600000 >,
- + < 691200 >,
- + < 768000 >,
- + < 844800 >,
- + < 921600 >;
- + };
- +
- + clock_cpu: qcom,cpu-clock-8994@f9015000 {
- + compatible = "qcom,cpu-clock-8994";
- + reg = <0xf9015000 0x1000>,
- + <0xf9016000 0x1000>,
- + <0xf9011000 0x1000>,
- + <0xf900d000 0x1000>,
- + <0xf900f000 0x1000>,
- + <0xf9112000 0x1000>,
- + <0xfc4b80b0 0x8>;
- + reg-names = "c0_pll", "c1_pll", "cci_pll", "c0_mux", "c1_mux", "cci_mux", "efuse";
- + vdd-a53-supply = <&apc0_vreg_corner>;
- + vdd-a57-supply = <&apc1_vreg_corner>;
- + vdd-cci-supply = <&apc0_vreg_corner>;
- + vdd-dig-supply = <&pm8994_s1_corner_ao>;
- + qcom,a53-speedbin0-v0 =
- + < 0 0>,
- + < 199200000 1>,
- + < 302400000 2>,
- + < 384000000 3>,
- + < 600000000 4>,
- + < 691200000 5>,
- + < 768000000 6>,
- + < 844800000 7>,
- + < 921600000 8>,
- + < 940800000 9>;
- + qcom,a57-speedbin0-v0 =
- + < 0 0>,
- + < 199200000 1>,
- + < 302400000 2>,
- + < 384000000 3>,
- + < 600000000 4>,
- + < 691200000 5>,
- + < 768000000 6>,
- + < 844800000 7>,
- + < 921600000 8>;
- + qcom,cci-speedbin0-v0 =
- + < 0 0>,
- + < 150000000 1>,
- + < 200000000 2>,
- + < 249600000 3>,
- + < 300000000 4>,
- + < 384000000 4>,
- + < 499200000 7>,
- + < 600000000 9>;
- + clock-names = "xo_ao", "aux_clk";
- + clocks = <&clock_rpm clk_cxo_clk_src_ao>,
- + <&clock_gcc clk_gpll0_ao>;
- + #clock-cells = <1>;
- + };
- +
- + ocmem: qcom,ocmem@fdd00000 {
- + compatible = "qcom,msm-ocmem";
- + reg = <0xfdd00000 0x2000>,
- + <0xfdd02000 0x2000>,
- + <0xfe039000 0x400>,
- + <0xfec00000 0x200000>;
- + reg-names = "ocmem_ctrl_physical", "dm_ctrl_physical", "br_ctrl_physical", "ocmem_physical";
- + interrupts = <0 76 0 0 77 0>;
- + interrupt-names = "ocmem_irq", "dm_irq";
- + qcom,ocmem-num-regions = <0x4>;
- + qcom,ocmem-num-macros = <0x20>;
- + qcom,resource-type = <0x706d636f>;
- + #address-cells = <1>;
- + #size-cells = <1>;
- + ranges = <0x0 0xfec00000 0x200000>;
- + clocks = <&clock_rpm clk_ocmemgx_core_clk>,
- + <&clock_mmss clk_ocmemcx_ocmemnoc_clk>;
- + clock-names = "core_clk", "iface_clk";
- +
- + partition@0 {
- + reg = <0x0 0x180000>;
- + qcom,ocmem-part-name = "graphics";
- + qcom,ocmem-part-min = <0x80000>;
- + };
- +
- + partition@100000 {
- + reg = <0x180000 0x80000>;
- + qcom,ocmem-part-name = "video";
- + qcom,ocmem-part-min = <0x55000>;
- + };
- +
- + };
- +
- + msm_vidc: qcom,vidc@fdc00000 {
- + compatible = "qcom,msm-vidc";
- + reg = <0xfdc00000 0xff000>;
- + interrupts = <0 44 0>;
- + qcom,hfi = "venus";
- + qcom,reg-presets = <0x800D8 0x707>,
- + <0xe0020 0x55555556>,
- + <0xe0024 0x55555556>,
- + <0x80124 0x3>;
- + qcom,qdss-presets = <0xfc325000 0x1000>,
- + <0xfc326000 0x1000>,
- + <0xfc321000 0x1000>,
- + <0xfc322000 0x1000>,
- + <0xfc323000 0x1000>,
- + <0xfc302000 0x1000>,
- + <0xfa180000 0x1000>,
- + <0xfa181000 0x1000>;
- + qcom,ocmem-size = <524288>; /* 512 * 1024*/
- + qcom,max-hw-load = <1281600>; /* Full 4k @ 30 + 1080p @ 30 */
- + clock-names = "core_clk", "core0_clk", "core1_clk", "core2_clk",
- + "iface_clk", "bus_clk", "mem_clk";
- + venus-supply = <&gdsc_venus>;
- + venus-core0-supply = <&gdsc_venus_core0>;
- + venus-core1-supply = <&gdsc_venus_core1>;
- + venus-core2-supply = <&gdsc_venus_core2>;
- + qcom,clock-configs = <0x3 0x0 0x0 0x0 0x0 0x0 0x0>;
- + qcom,sw-power-collapse;
- + clocks = <&clock_mmss clk_venus0_vcodec0_clk>,
- + <&clock_mmss clk_venus0_core0_vcodec_clk>,
- + <&clock_mmss clk_venus0_core1_vcodec_clk>,
- + <&clock_mmss clk_venus0_core2_vcodec_clk>,
- + <&clock_mmss clk_venus0_ahb_clk>,
- + <&clock_mmss clk_venus0_axi_clk>,
- + <&clock_mmss clk_venus0_ocmemnoc_clk>;
- + qcom,load-freq-tbl =
- + <979200 465000000 0x0c000000>,
- + <979200 465000000 0x01000414>,
- + <979200 465000000 0x030fcfff>,
- + <979200 465000000 0x04000000>,
- + <783360 465000000 0x0c000000>,
- + <783360 465000000 0x01000414>,
- + <783360 465000000 0x030fcfff>,
- + <783360 465000000 0x04000000>,
- + <489600 240000000 0x0c000000>,
- + <489600 240000000 0x01000414>,
- + <489600 240000000 0x030fcfff>,
- + <489600 240000000 0x04000000>,
- + <244800 133330000 0x0c000000>,
- + <244800 133330000 0x01000414>,
- + <244800 133330000 0x030fcfff>,
- + <244800 133330000 0x04000000>;
- + qcom,vidc-iommu-domains {
- + qcom,domain-ns {
- + qcom,vidc-domain-phandle = <&venus_domain_ns>;
- + qcom,vidc-partition-buffer-types = <0x7ff>,
- + <0x800>;
- + };
- + qcom,domain-sec-bs {
- + qcom,vidc-domain-phandle = <&venus_domain_sec_bitstream>;
- + qcom,vidc-partition-buffer-types = <0x241>;
- + };
- + qcom,domain-sec-px {
- + qcom,vidc-domain-phandle = <&venus_domain_sec_pixel>;
- + qcom,vidc-partition-buffer-types = <0x106>;
- + };
- + qcom,domain-sec-np {
- + qcom,vidc-domain-phandle = <&venus_domain_sec_non_pixel>;
- + qcom,vidc-partition-buffer-types = <0x480>;
- + };
- + };
- + qcom,msm-bus-clients {
- + qcom,msm-bus-client@0 {
- + qcom,msm-bus,name = "venc-core1-ddr";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 66800 0>,
- + <63 512 201100 0>,
- + <63 512 201100 0>,
- + <63 512 458300 0>,
- + <63 512 458300 0>,
- + <63 512 889200 0>,
- + <63 512 889200 0>,
- + <63 512 2108700 0>,
- + <63 512 2243700 0>,
- + <63 512 2615000 0>;
- + qcom,bus-configs = <0x1000414>;
- + };
- +
- + qcom,msm-bus-client@1 {
- + qcom,msm-bus,name = "vdec-core0-ddr";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 151600 0>,
- + <63 512 393600 0>,
- + <63 512 393600 0>,
- + <63 512 749100 0>,
- + <63 512 749100 0>,
- + <63 512 1460700 0>,
- + <63 512 1460700 0>,
- + <63 512 2390500 0>,
- + <63 512 2542300 0>,
- + <63 512 2959800 0>;
- + qcom,bus-configs = <0xc000000>;
- + };
- +
- + qcom,msm-bus-client@2 {
- + qcom,msm-bus,name = "vdec-core1-ddr";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 113900 0>,
- + <63 512 296700 0>,
- + <63 512 296700 0>,
- + <63 512 571400 0>,
- + <63 512 571400 0>,
- + <63 512 1088500 0>,
- + <63 512 1088500 0>,
- + <63 512 1811000 0>,
- + <63 512 1962000 0>,
- + <63 512 2242900 0>;
- + qcom,bus-configs = <0x30fcfff>;
- + };
- +
- + qcom,msm-bus-client@3 {
- + qcom,msm-bus,name = "venc-core2-ddr";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 89000 0>,
- + <63 512 270000 0>,
- + <63 512 270000 0>,
- + <63 512 759000 0>,
- + <63 512 759000 0>,
- + <63 512 1050000 0>,
- + <63 512 1050000 0>,
- + <63 512 3077000 0>,
- + <63 512 3811000 0>,
- + <63 512 3812000 0>;
- + qcom,bus-configs = <0x04000000>;
- + };
- + qcom,msm-bus-client@4 {
- + qcom,msm-bus,name = "venc-core1-ocmem";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <68 604 0 0>,
- + <68 604 69000 2384000>,
- + <68 604 207000 2384000>,
- + <68 604 207000 2384000>,
- + <68 604 470000 2384000>,
- + <68 604 470000 2384000>,
- + <68 604 940000 3632000>,
- + <68 604 940000 3632000>,
- + <68 604 1787000 3632000>,
- + <68 604 1906000 3632000>,
- + <68 604 2234000 3632000>;
- + qcom,bus-configs = <0x10000414>;
- + };
- + qcom,msm-bus-client@5 {
- + qcom,msm-bus,name = "venc-core2-ocmem";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <68 604 0 0>,
- + <68 604 71000 2384000>,
- + <68 604 214000 2384000>,
- + <68 604 214000 2384000>,
- + <68 604 564000 2384000>,
- + <68 604 564000 2384000>,
- + <68 604 1003000 3632000>,
- + <68 604 1003000 3632000>,
- + <68 604 2040000 3632000>,
- + <68 604 2349000 3632000>,
- + <68 604 2551000 3632000>;
- + qcom,bus-configs = <0x04000000>;
- + };
- +
- + qcom,msm-bus-client@6 {
- + qcom,msm-bus,name = "vdec-core0-ocmem";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <68 604 0 0>,
- + <68 604 79000 2384000>,
- + <68 604 201000 2384000>,
- + <68 604 201000 2384000>,
- + <68 604 367000 2384000>,
- + <68 604 367000 2384000>,
- + <68 604 735000 3632000>,
- + <68 604 735000 3632000>,
- + <68 604 1175000 3632000>,
- + <68 604 1254000 3632000>,
- + <68 604 1469000 3632000>;
- + qcom,bus-configs = <0xc000000>;
- + };
- +
- + qcom,msm-bus-client@7 {
- + qcom,msm-bus,name = "vdec-core1-ocmem";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <68 604 0 0>,
- + <68 604 88000 2384000>,
- + <68 604 228000 2384000>,
- + <68 604 228000 2384000>,
- + <68 604 432000 2384000>,
- + <68 604 432000 2384000>,
- + <68 604 865000 3632000>,
- + <68 604 865000 3632000>,
- + <68 604 1374000 3632000>,
- + <68 604 1465000 3632000>,
- + <68 604 1717000 3632000>;
- + qcom,bus-configs = <0x30fcfff>;
- + };
- +
- + qcom,msm-bus-client@8 {
- + qcom,msm-bus,name = "venc-ddr-lp";
- + qcom,msm-bus,num-cases = <11>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 66800 0>,
- + <63 512 201100 0>,
- + <63 512 201100 0>,
- + <63 512 458300 0>,
- + <63 512 458300 0>,
- + <63 512 889200 0>,
- + <63 512 889200 0>,
- + <63 512 1218000 0>,
- + <63 512 1218000 0>,
- + <63 512 1218000 0>;
- + qcom,bus-low-power;
- + qcom,bus-configs = <0x0000004>;
- + };
- +
- + qcom,msm-bus-client@9 {
- + qcom,msm-bus,name = "venus-arm9-ddr";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <63 512 0 0>,
- + <63 512 1000 1000>;
- + qcom,bus-configs = <0x00000000>;
- + qcom,bus-passive;
- + };
- + };
- + };
- +
- + i2c_1: i2c@f9923000 {
- + compatible = "qcom,i2c-msm-v2";
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg-names = "qup_phys_addr";
- + reg = <0xf9923000 0x1000>;
- + interrupt-names = "qup_irq";
- + interrupts = <0 95 0>;
- + qcom,clk-freq-out = <400000>;
- + qcom,clk-freq-in = <19200000>;
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp1_qup1_i2c_apps_clk>;
- +
- + pinctrl-names = "i2c_active", "i2c_sleep";
- + pinctrl-0 = <&i2c_1_active>;
- + pinctrl-1 = <&i2c_1_sleep>;
- + qcom,noise-rjct-scl = <0>;
- + qcom,noise-rjct-sda = <0>;
- + qcom,master-id = <86>;
- + dmas = <&dma_blsp1 10 64 0x20000020 0x20>,
- + <&dma_blsp1 11 32 0x20000020 0x20>;
- + dma-names = "tx", "rx";
- + status = "disabled";
- + };
- +
- + dma_blsp1: qcom,sps-dma@f9904000 { /* BLSP1 */
- + #dma-cells = <4>;
- + compatible = "qcom,sps-dma";
- + reg = <0xf9904000 0x19000>;
- + interrupts = <0 238 0>;
- + qcom,summing-threshold = <10>;
- + };
- +
- + dma_blsp2: qcom,sps-dma@f9944000 { /* BLSP2 */
- + #dma-cells = <4>;
- + compatible = "qcom,sps-dma";
- + reg = <0xf9944000 0x19000>;
- + interrupts = <0 239 0>;
- + qcom,summing-threshold = <10>;
- + };
- +
- +
- + i2c_2: i2c@f9924000 { /* BLSP1 QUP2 */
- + compatible = "qcom,i2c-msm-v2";
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg-names = "qup_phys_addr";
- + reg = <0xf9924000 0x1000>;
- + interrupt-names = "qup_irq";
- + interrupts = <0 96 0>;
- + qcom,clk-freq-out = <400000>;
- + qcom,clk-freq-in = <19200000>;
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp1_qup2_i2c_apps_clk>;
- +
- + pinctrl-names = "i2c_active", "i2c_sleep";
- + pinctrl-0 = <&i2c_2_active>;
- + pinctrl-1 = <&i2c_2_sleep>;
- + qcom,noise-rjct-scl = <0>;
- + qcom,noise-rjct-sda = <0>;
- +
- + /* #ifdef VENDOR_EDIT */
- + //add by yangrujin@bsp for dma has some issue causing i2c fail
- + //qcom,disable-dma;
- + /* #endif //VENDOR_EDIT */
- +
- +
- + dmas = <&dma_blsp1 14 64 0x20000020 0x20>,
- + <&dma_blsp1 15 32 0x20000020 0x20>;
- + dma-names = "tx", "rx";
- + qcom,master-id = <86>;
- + };
- +
- + i2c_5: i2c_11: i2c@f9967000 { /* BLSP2 QUP5 */
- + compatible = "qcom,i2c-msm-v2";
- + #address-cells = <1>;
- + #size-cells = <0>;
- + reg-names = "qup_phys_addr";
- + reg = <0xf9967000 0x1000>;
- + interrupt-names = "qup_irq";
- + interrupts = <0 105 0>;
- + qcom,clk-freq-out = <100000>;
- + qcom,clk-freq-in = <19200000>;
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp2_qup5_i2c_apps_clk>;
- +
- + pinctrl-names = "i2c_active", "i2c_sleep";
- + pinctrl-0 = <&i2c_5_active>;
- + pinctrl-1 = <&i2c_5_sleep>;
- + qcom,noise-rjct-scl = <0>;
- + qcom,noise-rjct-sda = <0>;
- + //#ifndef VENDOR_EDIT
- + /*zhiguang.su@MultiMedia.AudioDrv , 2015/4/13, dma mode will cause I2C fail*/
- + qcom,disable-dma;
- + //#endif
- + dmas = <&dma_blsp2 20 64 0x20000020 0x20>,
- + <&dma_blsp2 21 32 0x20000020 0x20>;
- + dma-names = "tx", "rx";
- + qcom,master-id = <84>;
- + };
- +
- + i2c_6: i2c@f9928000 { /* BLSP1 QUP6 */
- + compatible = "qcom,i2c-msm-v2";
- + #address-cells = <1>;
- + #size-cells = <0>;
- + status = "disabled";
- + reg-names = "qup_phys_addr";
- + reg = <0xf9928000 0x1000>;
- + interrupt-names = "qup_irq";
- + interrupts = <0 100 0>;
- + qcom,clk-freq-out = <400000>;
- + qcom,clk-freq-in = <19200000>;
- + clock-names = "iface_clk", "core_clk";
- + clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>,
- + <&clock_gcc clk_gcc_blsp1_qup6_i2c_apps_clk>;
- +
- + pinctrl-names = "i2c_active", "i2c_sleep";
- + pinctrl-0 = <&i2c_6_active>;
- + pinctrl-1 = <&i2c_6_sleep>;
- + qcom,noise-rjct-scl = <0>;
- + qcom,noise-rjct-sda = <0>;
- + dmas = <&dma_blsp1 22 64 0x20000020 0x20>,
- + <&dma_blsp1 23 32 0x20000020 0x20>;
- + dma-names = "tx", "rx";
- + qcom,master-id = <86>;
- + };
- +
- + sound {
- + compatible = "qcom,msm8994-asoc-snd";
- + qcom,model = "msm8994-tomtom-snd-card";
- + reg = <0xfe034000 0x4>,
- + <0xfe035000 0x4>,
- + <0xfe036000 0x4>,
- + <0xfe037000 0x4>;
- + reg-names = "lpaif_pri_mode_muxsel",
- + "lpaif_sec_mode_muxsel",
- + "lpaif_tert_mode_muxsel",
- + "lpaif_quat_mode_muxsel";
- +
- + qcom,audio-routing =
- + "AIF4 VI", "MCLK",
- + "RX_BIAS", "MCLK",
- + "LDO_H", "MCLK",
- + "MADINPUT", "MCLK";
- + //#ifndef VENDOR_EDIT
- + /*zhiguang.su@MultiMedia.AudioDrv , 2015/3/19, delete unsed mic*/
- + //"AMIC1", "MIC BIAS1 Internal1",
- + //"MIC BIAS1 Internal1", "Handset Mic",
- + //"AMIC2", "MIC BIAS2 External",
- + //"MIC BIAS2 External", "Headset Mic",
- + //"AMIC3", "MIC BIAS2 External",
- + //"MIC BIAS2 External", "ANCRight Headset Mic",
- + //"AMIC4", "MIC BIAS2 External",
- + //"MIC BIAS2 External", "ANCLeft Headset Mic",
- + //"DMIC1", "MIC BIAS1 External",
- + //"MIC BIAS1 External", "Digital Mic1",
- + //"DMIC2", "MIC BIAS1 External",
- + //"MIC BIAS1 External", "Digital Mic2",
- + //"DMIC3", "MIC BIAS3 External",
- + //"MIC BIAS3 External", "Digital Mic3",
- + //"DMIC4", "MIC BIAS3 External",
- + //"MIC BIAS3 External", "Digital Mic4",
- + //"DMIC5", "MIC BIAS4 External",
- + //"MIC BIAS4 External", "Digital Mic5",
- + //"DMIC6", "MIC BIAS4 External",
- + //"MIC BIAS4 External", "Digital Mic6";
- + //#endif
- +
- + clock-names = "osr_clk";
- + clocks = <&clock_rpm clk_div_clk1>;
- + qcom,cdc-mclk-gpios = <&pm8994_gpios 15 0>;
- + qcom,tomtom-mclk-clk-freq = <9600000>;
- + pinctrl-names = "sleep",
- + "auxpcm-active",
- + "mi2s-active",
- + //#ifdef VENDOR_EDIT
- + /*zhiguang.su@MultiMedia.AudioDrv,changed for quat i2s */
- + "active",
- + "quat_mi2s_active",
- + "quat_aux_active";
- + //#endif
- +//#ifdef VENDOR_EDIT
- +//pinctrl-0 = <&pri_mi2s_sleep>, <&pri_mi2s_sd0_sleep>,
- +// <&sec_aux_pcm_sleep>, <&sec_aux_pcm_din_sleep>;
- +//pinctrl-1 = <&pri_mi2s_sleep>, <&pri_mi2s_sd0_sleep>,
- +// <&sec_aux_pcm_active>, <&sec_aux_pcm_din_active>;
- +//pinctrl-2 = <&pri_mi2s_active>, <&pri_mi2s_sd0_active>,
- +// <&sec_aux_pcm_sleep>, <&sec_aux_pcm_din_sleep>;
- +//pinctrl-3 = <&pri_mi2s_active>, <&pri_mi2s_sd0_active>,
- +// <&sec_aux_pcm_active>, <&sec_aux_pcm_din_active>;
- +//#endif
- +
- +//#ifdef VENDOR_EDIT
- +/*zhiguang.su@MultiMedia.AudioDrv,2015-4-8,remove unused pri-i2s for conflict pins with BSP module.*/
- + pinctrl-0 = <&sec_aux_pcm_sleep>, <&sec_aux_pcm_din_sleep>;
- + pinctrl-1 = <&sec_aux_pcm_active>, <&sec_aux_pcm_din_active>;
- + pinctrl-2 = <&sec_aux_pcm_sleep>, <&sec_aux_pcm_din_sleep>;
- + pinctrl-3 = <&sec_aux_pcm_active>, <&sec_aux_pcm_din_active>;
- +//#endif
- +//#ifdef VENDOR_EDIT
- +/*zhiguang.su@MultiMedia.AudioDrv changed for quat i2s */
- + pinctrl-4 = <&quat_mi2s_active>, <&quat_mi2s_mclk_active>, <&quat_mi2s_sd0_active> , <&quat_mi2s_sd1_active>;
- + pinctrl-5 = <&quat_mi2s_active>, <&quat_mi2s_mclk_active>, <&quat_mi2s_sd0_active> , <&quat_mi2s_sd1_active> , <&sec_aux_pcm_active>, <&sec_aux_pcm_din_active>;
- +//#endif
- + asoc-platform = <&pcm0>, <&pcm1>, <&pcm2>, <&voip>, <&voice>,
- + <&loopback>, <&compress>, <&hostless>,
- + <&afe>, <&lsm>, <&routing>, <&cpe>, <&compr>;
- + asoc-platform-names = "msm-pcm-dsp.0", "msm-pcm-dsp.1", "msm-pcm-dsp.2",
- + "msm-voip-dsp", "msm-pcm-voice", "msm-pcm-loopback",
- + "msm-compress-dsp", "msm-pcm-hostless", "msm-pcm-afe",
- + "msm-lsm-client", "msm-pcm-routing", "msm-cpe-lsm",
- + "msm-compr-dsp";
- +//#ifdef VENDOR_EDIT
- +/*zhiguang.su@MultiMedia.AudioDrv changed for quat i2s*/
- + asoc-cpu = <&dai_pri_auxpcm>, <&dai_sec_auxpcm>, <&dai_hdmi>, <&dai_mi2s>,<&qua_mi2s>,
- + <&sb_0_rx>, <&sb_0_tx>, <&sb_1_rx>, <&sb_1_tx>,
- + <&sb_2_rx>, <&sb_2_tx>, <&sb_3_rx>, <&sb_3_tx>,
- + <&sb_4_rx>, <&sb_4_tx>, <&sb_5_tx>, <&bt_sco_rx>,
- + <&bt_sco_tx>, <&int_fm_rx>, <&int_fm_tx>, <&afe_pcm_rx>,
- + <&afe_pcm_tx>, <&afe_proxy_rx>, <&afe_proxy_tx>,
- + <&incall_record_rx>, <&incall_record_tx>, <&incall_music_rx>,
- + <&incall_music2_rx>;
- + asoc-cpu-names = "msm-dai-q6-auxpcm.1", "msm-dai-q6-auxpcm.2",
- + "msm-dai-q6-hdmi.8", "msm-dai-q6-mi2s.0","msm-dai-q6-mi2s.3",
- + "msm-dai-q6-dev.16384", "msm-dai-q6-dev.16385",
- + "msm-dai-q6-dev.16386", "msm-dai-q6-dev.16387",
- + "msm-dai-q6-dev.16388", "msm-dai-q6-dev.16389",
- + "msm-dai-q6-dev.16390", "msm-dai-q6-dev.16391",
- + "msm-dai-q6-dev.16392", "msm-dai-q6-dev.16393",
- + "msm-dai-q6-dev.16395", "msm-dai-q6-dev.12288",
- + "msm-dai-q6-dev.12289", "msm-dai-q6-dev.12292",
- + "msm-dai-q6-dev.12293", "msm-dai-q6-dev.224",
- + "msm-dai-q6-dev.225", "msm-dai-q6-dev.241",
- + "msm-dai-q6-dev.240", "msm-dai-q6-dev.32771",
- + "msm-dai-q6-dev.32772", "msm-dai-q6-dev.32773",
- + "msm-dai-q6-dev.32770";
- +//#endif
- + asoc-codec = <&stub_codec>;
- + asoc-codec-names = "msm-stub-codec.1";
- + };
- +
- + qcom,msm-adsp-loader {
- + compatible = "qcom,adsp-loader";
- + qcom,adsp-state = <0>;
- + };
- +
- + qcom,msm-audio-ion {
- + compatible = "qcom,msm-audio-ion";
- + };
- +
- + pcm0: qcom,msm-pcm {
- + compatible = "qcom,msm-pcm-dsp";
- + qcom,msm-pcm-dsp-id = <0>;
- + };
- +
- + qcom,msm-pcm-lpa {
- + compatible = "qcom,msm-pcm-lpa";
- + };
- +
- + pcm2: qcom,msm-ultra-low-latency {
- + compatible = "qcom,msm-pcm-dsp";
- + qcom,msm-pcm-dsp-id = <2>;
- + qcom,msm-pcm-low-latency;
- + qcom,latency-level = "ultra";
- + };
- +
- + pcm1: qcom,msm-pcm-low-latency {
- + compatible = "qcom,msm-pcm-dsp";
- + qcom,msm-pcm-dsp-id = <1>;
- + qcom,msm-pcm-low-latency;
- + qcom,latency-level = "regular";
- + };
- +
- + routing: qcom,msm-pcm-routing {
- + compatible = "qcom,msm-pcm-routing";
- + };
- +
- + compr: qcom,msm-compr-dsp {
- + compatible = "qcom,msm-compr-dsp";
- + };
- +
- + compress: qcom,msm-compress-dsp {
- + compatible = "qcom,msm-compress-dsp";
- + };
- +
- + voip: qcom,msm-voip-dsp {
- + compatible = "qcom,msm-voip-dsp";
- + };
- +
- + voice: qcom,msm-pcm-voice {
- + compatible = "qcom,msm-pcm-voice";
- + qcom,destroy-cvd;
- + };
- +
- + stub_codec: qcom,msm-stub-codec {
- + compatible = "qcom,msm-stub-codec";
- + };
- +
- + qcom,msm-dai-fe {
- + compatible = "qcom,msm-dai-fe";
- + };
- +
- + afe: qcom,msm-pcm-afe {
- + compatible = "qcom,msm-pcm-afe";
- + };
- +
- + dai_hdmi: qcom,msm-dai-q6-hdmi {
- + compatible = "qcom,msm-dai-q6-hdmi";
- + qcom,msm-dai-q6-dev-id = <8>;
- + };
- +
- + lsm: qcom,msm-lsm-client {
- + compatible = "qcom,msm-lsm-client";
- + };
- +
- + loopback: qcom,msm-pcm-loopback {
- + compatible = "qcom,msm-pcm-loopback";
- + };
- +
- + qcom,msm-voice-svc {
- + compatible = "qcom,msm-voice-svc";
- + };
- +
- + cpe: qcom,msm-cpe-lsm {
- + compatible = "qcom,msm-cpe-lsm";
- + };
- +
- + qcom,msm-dai-q6 {
- + compatible = "qcom,msm-dai-q6";
- + sb_0_rx: qcom,msm-dai-q6-sb-0-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16384>;
- + };
- +
- + sb_0_tx: qcom,msm-dai-q6-sb-0-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16385>;
- + };
- +
- + sb_1_rx: qcom,msm-dai-q6-sb-1-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16386>;
- + };
- +
- + sb_1_tx: qcom,msm-dai-q6-sb-1-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16387>;
- + };
- +
- + sb_2_rx: qcom,msm-dai-q6-sb-2-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16388>;
- + };
- +
- + sb_2_tx: qcom,msm-dai-q6-sb-2-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16389>;
- + };
- +
- + sb_3_rx: qcom,msm-dai-q6-sb-3-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16390>;
- + };
- +
- + sb_3_tx: qcom,msm-dai-q6-sb-3-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16391>;
- + };
- +
- + sb_4_rx: qcom,msm-dai-q6-sb-4-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16392>;
- + };
- +
- + sb_4_tx: qcom,msm-dai-q6-sb-4-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16393>;
- + };
- +
- + sb_5_tx: qcom,msm-dai-q6-sb-5-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <16395>;
- + };
- +
- + bt_sco_rx: qcom,msm-dai-q6-bt-sco-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <12288>;
- + };
- +
- + bt_sco_tx: qcom,msm-dai-q6-bt-sco-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <12289>;
- + };
- +
- + int_fm_rx: qcom,msm-dai-q6-int-fm-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <12292>;
- + };
- +
- + int_fm_tx: qcom,msm-dai-q6-int-fm-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <12293>;
- + };
- +
- + afe_pcm_rx: qcom,msm-dai-q6-be-afe-pcm-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <224>;
- + };
- +
- + afe_pcm_tx: qcom,msm-dai-q6-be-afe-pcm-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <225>;
- + };
- +
- + afe_proxy_rx: com,msm-dai-q6-afe-proxy-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <241>;
- + };
- +
- + afe_proxy_tx: qcom,msm-dai-q6-afe-proxy-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <240>;
- + };
- +
- + incall_record_rx: qcom,msm-dai-q6-incall-record-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <32771>;
- + };
- +
- + incall_record_tx: qcom,msm-dai-q6-incall-record-tx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <32772>;
- + };
- +
- + incall_music_rx: qcom,msm-dai-q6-incall-music-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <32773>;
- + };
- +
- + incall_music2_rx: qcom,msm-dai-q6-incall-music-2-rx {
- + compatible = "qcom,msm-dai-q6-dev";
- + qcom,msm-dai-q6-dev-id = <32770>;
- + };
- + };
- +
- + dai_pri_auxpcm: qcom,msm-pri-auxpcm {
- + compatible = "qcom,msm-auxpcm-dev";
- + qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
- + qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
- + qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
- + qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-data = <0>, <0>;
- + qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
- + qcom,msm-auxpcm-interface = "primary";
- + };
- +
- + dai_sec_auxpcm: qcom,msm-sec-auxpcm {
- + compatible = "qcom,msm-auxpcm-dev";
- + qcom,msm-cpudai-auxpcm-mode = <0>, <0>;
- + qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
- + qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
- + qcom,msm-cpudai-auxpcm-num-slots = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-slot-mapping = <1>, <1>;
- + qcom,msm-cpudai-auxpcm-data = <0>, <0>;
- + qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
- + qcom,msm-auxpcm-interface = "secondary";
- + };
- +
- + qcom,msm-dai-mi2s {
- + compatible = "qcom,msm-dai-mi2s";
- + dai_mi2s: qcom,msm-dai-q6-mi2s-prim {
- + compatible = "qcom,msm-dai-q6-mi2s";
- + qcom,msm-dai-q6-mi2s-dev-id = <0>;
- +//#ifdef VENDOR_EDIT
- +/*zhiguang.su@MultiMedia.AudioDrv ,changed for quat i2s*/
- +
- + qcom,msm-mi2s-rx-lines = <1>;
- + qcom,msm-mi2s-tx-lines = <2>;
- + };
- +
- + qua_mi2s: qcom,msm-dai-q6-mi2s-quat {
- + compatible = "qcom,msm-dai-q6-mi2s";
- + qcom,msm-dai-q6-mi2s-dev-id = <3>;
- + qcom,msm-mi2s-rx-lines = <1>;
- + qcom,msm-mi2s-tx-lines = <2>;
- + };
- +//#endif
- + };
- +
- + hostless: qcom,msm-pcm-hostless {
- + compatible = "qcom,msm-pcm-hostless";
- + };
- +
- + tsens: tsens@fc4a8000 {
- + compatible = "qcom,msm8994-tsens";
- + reg = <0xfc4a8000 0x2000>,
- + <0xfc4bc000 0x1000>;
- + reg-names = "tsens_physical", "tsens_eeprom_physical";
- + interrupts = <0 184 0>;
- + interrupt-names = "tsens-upper-lower";
- + qcom,sensors = <16>;
- + qcom,slope = <2901 2846 3200 3200 3200 3200 3200 3200 3200 3200 3200 3200 3200 3200 3200 3200>;
- + };
- +
- + qcom_tzlog: tz-log@fe87f720 {
- + compatible = "qcom,tz-log";
- + reg = <0xfe87f720 0x2000>;
- + };
- +
- + qcom_crypto1fde: qcrypto1fde@fd440000 {
- + compatible = "qcom,qcrypto";
- + reg = <0xfd440000 0x20000>,
- + <0xfd444000 0x9000>;
- + reg-names = "crypto-base","crypto-bam-base";
- + interrupts = <0 236 0>;
- + qcom,bam-pipe-pair = <2>;
- + qcom,ce-hw-instance = <1>;
- + qcom,ce-device = <0>;
- + qcom,clk-mgmt-sus-res;
- + qcom,msm-bus,name = "qcrypto-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 393600 393600>;
- + clock-names = "core_clk_src", "iface_clk", "bus_clk";
- + clocks = <&clock_rpm clk_qcrypto_ce2_clk>,
- + <&clock_rpm clk_gcc_ce2_ahb_m_clk>,
- + <&clock_rpm clk_gcc_ce2_axi_m_clk>;
- + qcom,support-core-clk-only;
- + qcom,use-sw-aes-cbc-ecb-ctr-algo;
- + qcom,use-sw-aes-xts-algo;
- + qcom,use-sw-aes-ccm-algo;
- + qcom,use-sw-ahash-algo;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom_crypto2fde: qcrypto2fde@0xfd3c0000 {
- + compatible = "qcom,qcrypto";
- + reg = <0xfd3c0000 0x20000>,
- + <0xfd3c4000 0x9000>;
- + reg-names = "crypto-base","crypto-bam-base";
- + interrupts = <0 297 0>;
- + qcom,bam-pipe-pair = <2>;
- + qcom,ce-hw-instance = <2>;
- + qcom,ce-device = <0>;
- + qcom,clk-mgmt-sus-res;
- + qcom,msm-bus,name = "qcrypto-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 393600 393600>;
- + clock-names = "core_clk_src", "iface_clk", "bus_clk";
- + clocks = <&clock_rpm clk_qcrypto_ce3_clk>,
- + <&clock_rpm clk_gcc_ce3_ahb_m_clk>,
- + <&clock_rpm clk_gcc_ce3_axi_m_clk>;
- + qcom,support-core-clk-only;
- + qcom,use-sw-aes-cbc-ecb-ctr-algo;
- + qcom,use-sw-aes-xts-algo;
- + qcom,use-sw-aes-ccm-algo;
- + qcom,use-sw-ahash-algo;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom_crypto1pfe: qcrypto1pfe@fd440000 {
- + compatible = "qcom,qcrypto";
- + reg = <0xfd440000 0x20000>,
- + <0xfd444000 0x9000>;
- + reg-names = "crypto-base","crypto-bam-base";
- + interrupts = <0 236 0>;
- + qcom,bam-pipe-pair = <0>;
- + qcom,ce-hw-instance = <1>;
- + qcom,ce-device = <1>;
- + qcom,clk-mgmt-sus-res;
- + qcom,msm-bus,name = "qcrypto-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 393600 393600>;
- + clock-names = "core_clk_src", "iface_clk", "bus_clk";
- + clocks = <&clock_rpm clk_qcrypto_ce2_clk>,
- + <&clock_rpm clk_gcc_ce2_ahb_m_clk>,
- + <&clock_rpm clk_gcc_ce2_axi_m_clk>;
- + qcom,support-core-clk-only;
- + qcom,use-sw-aes-cbc-ecb-ctr-algo;
- + qcom,use-sw-aes-xts-algo;
- + qcom,use-sw-aes-ccm-algo;
- + qcom,use-sw-ahash-algo;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom_crypto2pfe: qcrypto2pfe@0xfd3c0000 {
- + compatible = "qcom,qcrypto";
- + reg = <0xfd3c0000 0x20000>,
- + <0xfd3c4000 0x9000>;
- + reg-names = "crypto-base","crypto-bam-base";
- + interrupts = <0 297 0>;
- + qcom,bam-pipe-pair = <0>;
- + qcom,ce-hw-instance = <2>;
- + qcom,ce-device = <1>;
- + qcom,clk-mgmt-sus-res;
- + qcom,msm-bus,name = "qcrypto-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 393600 393600>;
- + clock-names = "core_clk_src", "iface_clk", "bus_clk";
- + clocks = <&clock_rpm clk_qcrypto_ce3_clk>,
- + <&clock_rpm clk_gcc_ce3_ahb_m_clk>,
- + <&clock_rpm clk_gcc_ce3_axi_m_clk>;
- + qcom,support-core-clk-only;
- + qcom,use-sw-aes-cbc-ecb-ctr-algo;
- + qcom,use-sw-aes-xts-algo;
- + qcom,use-sw-aes-ccm-algo;
- + qcom,use-sw-ahash-algo;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom_cedev: qcedev@fd440000 {
- + compatible = "qcom,qcedev";
- + reg = <0xfd440000 0x20000>,
- + <0xfd444000 0x9000>;
- + reg-names = "crypto-base","crypto-bam-base";
- + interrupts = <0 236 0>;
- + qcom,bam-pipe-pair = <1>;
- + qcom,ce-hw-instance = <0>;
- + qcom,ce-device = <0>;
- + qcom,msm-bus,name = "qcedev-noc";
- + qcom,msm-bus,num-cases = <2>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 393600 393600>;
- + clock-names = "core_clk_src", "iface_clk", "bus_clk";
- + clocks = <&clock_rpm clk_qcedev_ce2_clk>,
- + <&clock_rpm clk_gcc_ce2_ahb_m_clk>,
- + <&clock_rpm clk_gcc_ce2_axi_m_clk>;
- + qcom,support-core-clk-only;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom,qseecom@6500000{
- + compatible = "qcom,qseecom";
- + reg = <0x0E900000 0x1900000>;//reg = <0x6500000 0x500000>; ----> <0x0E700000 0x700000>; ----> <0x0E900000 0x1900000>; /*VENDOR_EDIT changhua add more memory for fpc1150 and alipay in TZ*/
- + reg-names = "secapp-region";
- + qcom,disk-encrypt-pipe-pair = <2>;
- + qcom,file-encrypt-pipe-pair = <0>;
- + qcom,support-multiple-ce-hw-instance;
- + qcom,hlos-num-ce-hw-instances = <2>;
- + qcom,hlos-ce-hw-instance = <1 2>;
- + qcom,qsee-ce-hw-instance = <0>;
- + qcom,msm-bus,name = "qseecom-noc";
- + qcom,msm-bus,num-cases = <4>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,support-fde;
- + qcom,support-pfe;
- + qcom,no-clock-support;
- + qcom,msm-bus,vectors-KBps =
- + <55 512 0 0>,
- + <55 512 0 0>,
- + <55 512 120000 1200000>,
- + <55 512 393600 3936000>;
- + clock-names = "core_clk", "ufs_core_clk_src", "ufs_core_clk",
- + "ufs_bus_clk", "ufs_iface_clk";
- + clocks = <&clock_rpm clk_qseecom_ce1_clk>,
- + <&clock_gcc clk_ufs_axi_clk_src>,
- + <&clock_gcc clk_gcc_ufs_axi_clk>,
- + <&clock_gcc clk_gcc_sys_noc_ufs_axi_clk>,
- + <&clock_gcc clk_gcc_ufs_ahb_clk>;
- + qcom,ce-opp-freq = <171430000>;
- + };
- +
- + qcom,sensor-information {
- + compatible = "qcom,sensor-information";
- + sensor_information0: qcom,sensor-information@0 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor0";
- + };
- +
- + sensor_information1: qcom,sensor-information@1 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor1";
- + };
- +
- + sensor_information2: qcom,sensor-information@2 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor2";
- + qcom,alias-name = "pop_mem";
- + };
- +
- + sensor_information3: qcom,sensor-information@3 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor3";
- + };
- +
- + sensor_information4: qcom,sensor-information@4 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor4";
- + };
- +
- + sensor_information5: qcom,sensor-information@5 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor5";
- + };
- +
- + sensor_information6: qcom,sensor-information@6 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor6";
- + qcom,alias-name = "cpu7";
- + };
- +
- + sensor_information7: qcom,sensor-information@7 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor7";
- + qcom,alias-name = "cpu0";
- + };
- +
- + sensor_information8: qcom,sensor-information@8 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor8";
- + qcom,alias-name = "cpu1";
- + };
- +
- + sensor_information9: qcom,sensor-information@9 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor9";
- + qcom,alias-name = "cpu2";
- + };
- +
- + sensor_information10: qcom,sensor-information@10 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor10";
- + qcom,alias-name = "cpu3";
- + };
- +
- + sensor_information11: qcom,sensor-information@11 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor11";
- + };
- +
- + sensor_information12: qcom,sensor-information@12 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor12";
- + qcom,alias-name = "gpu";
- + };
- +
- + sensor_information13: qcom,sensor-information@13 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor13";
- + qcom,alias-name = "cpu4";
- + };
- +
- + sensor_information14: qcom,sensor-information@14 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor14";
- + qcom,alias-name = "cpu5";
- + };
- +
- + sensor_information15: qcom,sensor-information@15 {
- + qcom,sensor-type = "tsens";
- + qcom,sensor-name = "tsens_tz_sensor15";
- + qcom,alias-name = "cpu6";
- + };
- +
- + sensor_information16: qcom,sensor-information@16 {
- + qcom,sensor-type = "alarm";
- + qcom,sensor-name = "pm8994_tz";
- + qcom,scaling-factor = <1000>;
- + };
- +
- + sensor_information17: qcom,sensor-information@17 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "msm_therm";
- + };
- +
- + sensor_information18: qcom,sensor-information@18 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "emmc_therm";
- + };
- +
- + sensor_information19: qcom,sensor-information@19 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "pa_therm0";
- + };
- +
- + sensor_information20: qcom,sensor-information@20 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "pa_therm1";
- + };
- +
- + sensor_information21: qcom,sensor-information@21 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "quiet_therm";
- + };
- +
- + sensor_information22: qcom,sensor-information@22 {
- + qcom,sensor-type = "llm";
- + qcom,sensor-name = "LLM_IA57";
- + };
- +
- + sensor_information23: qcom,sensor-information-23 {
- + qcom,sensor-type = "adc";
- + qcom,sensor-name = "battery";
- + };
- + };
- +
- + qcom,msm-thermal {
- + compatible = "qcom,msm-thermal";
- + qcom,sensor-id = <7>;
- + qcom,poll-ms = <250>;
- + qcom,limit-temp = <60>;
- + qcom,temp-hysteresis = <10>;
- + qcom,therm-reset-temp = <115>;
- + qcom,freq-step = <2>;
- + qcom,freq-control-mask = <0xff>;
- + qcom,core-limit-temp = <80>;
- + qcom,core-temp-hysteresis = <10>;
- + qcom,core-control-mask = <0xfe>;
- + qcom,hotplug-temp = <105>;
- + qcom,hotplug-temp-hysteresis = <40>;
- + qcom,cpu-sensors = "tsens_tz_sensor7", "tsens_tz_sensor8",
- + "tsens_tz_sensor9", "tsens_tz_sensor10",
- + "tsens_tz_sensor13", "tsens_tz_sensor14",
- + "tsens_tz_sensor15", "tsens_tz_sensor6";
- + qcom,freq-mitigation-temp = <95>;
- + qcom,freq-mitigation-temp-hysteresis = <10>;
- + qcom,freq-mitigation-value = <960000>;
- + qcom,freq-mitigation-control-mask = <0xF0>;
- + qcom,online-hotplug-core;
- + qcom,synchronous-cluster-id = <0 1>;
- + qcom,mx-restriction-temp = <5>;
- + qcom,mx-restriction-temp-hysteresis = <10>;
- + qcom,mx-retention-min = <3>;
- + vdd-mx-supply = <&pm8994_s2_corner>;
- +
- + qcom,vdd-restriction-temp = <5>;
- + qcom,vdd-restriction-temp-hysteresis = <10>;
- +
- + vdd-dig-supply = <&pm8994_s1_floor_corner>;
- + vdd-gfx-supply = <&pmi8994_s2_floor_corner>;
- +
- + qcom,vdd-dig-rstr{
- + qcom,vdd-rstr-reg = "vdd-dig";
- + qcom,levels = <5 7 7>; /* Nominal, Super Turbo, Super Turbo */
- + qcom,min-level = <1>; /* No Request */
- + };
- +
- + qcom,vdd-gfx-rstr{
- + qcom,vdd-rstr-reg = "vdd-gfx";
- + qcom,levels = <5 7 7>; /* Nominal, Super Turbo, Super Turbo */
- + qcom,min-level = <1>; /* No Request */
- + };
- +
- + msm_thermal_freq: qcom,vdd-apps-rstr{
- + qcom,vdd-rstr-reg = "vdd-apps";
- + qcom,levels = <302400 600000 600000>;
- + qcom,freq-req;
- + };
- + };
- +
- + qcom,bcl {
- + compatible = "qcom,bcl";
- + qcom,bcl-enable;
- + qcom,bcl-framework-interface;
- + qcom,bcl-freq-control-list = <&CPU4 &CPU5 &CPU6 &CPU7>;
- + qcom,bcl-hotplug-list = <&CPU6 &CPU7>;
- + qcom,bcl-soc-hotplug-list = <&CPU4 &CPU5 &CPU6 &CPU7>;
- + qcom,ibat-monitor {
- + qcom,low-threshold-uamp = <3400000>;
- + qcom,high-threshold-uamp = <4200000>;
- + qcom,mitigation-freq-khz = <768000>;
- + qcom,vph-high-threshold-uv = <3500000>;
- + qcom,vph-low-threshold-uv = <3300000>;
- + qcom,soc-low-threshold = <20>;
- + qcom,thermal-handle = <&msm_thermal_freq>;
- + };
- + };
- +
- + cnss: qcom,cnss@06300000 {
- + compatible = "qcom,cnss";
- + reg = <0x06300000 0x200000>;
- + reg-names = "ramdump";
- + wlan-en-gpio = <&msm_gpio 113 0>;
- + vdd-wlan-supply = <&bt_vreg>;
- + vdd-wlan-io-supply = <&pm8994_s4>;
- + vdd-wlan-xtal-supply = <&pm8994_l30>;
- + qcom,notify-modem-status;
- + pinctrl-names = "default";
- + pinctrl-0 = <&cnss_default>;
- + qcom,wlan-rc-num = <1>;
- + qcom,wlan-uart-access;
- +
- + qcom,msm-bus,name = "msm-cnss";
- + qcom,msm-bus,num-cases = <4>;
- + qcom,msm-bus,num-paths = <1>;
- + qcom,msm-bus,vectors-KBps =
- + <100 512 0 0>, /* No vote */
- + <100 512 6250 200000>, /* 50 Mbps */
- + <100 512 25000 200000>, /* 200 Mbps */
- + <100 512 100000 200000>; /* 800 Mbps */
- + };
- +
- + audio_heap {
- + compatible = "qcom,msm-shared-memory";
- + qcom,proc-id = <1>;
- + linux,contiguous-region = <&audio_mem>;
- + };
- +
- + adsp_heap {
- + compatible = "qcom,msm-shared-memory";
- + qcom,proc-id = <1>;
- + linux,contiguous-region = <&adsp_mem>;
- + };
- +
- + qcom,msm-core@fc4b8000 {
- + compatible = "qcom,apss-core-ea";
- + reg = <0xfc4b8000 0x1000>;
- + qcom,low-hyst-temp = <10>;
- + qcom,high-hyst-temp = <5>;
- + qcom,polling-interval = <50>;
- +
- + qcom,core-mapping {
- + qcom,cpu0-chars {
- + qcom,sensor = <&sensor_information7>;
- + qcom,cpu-name = <&CPU0>;
- + };
- +
- + qcom,cpu1-chars {
- + qcom,sensor = <&sensor_information8>;
- + qcom,cpu-name = <&CPU1>;
- + };
- +
- + qcom,cpu2-chars {
- + qcom,sensor = <&sensor_information9>;
- + qcom,cpu-name = <&CPU2>;
- + };
- +
- + qcom,cpu3-chars {
- + qcom,sensor = <&sensor_information10>;
- + qcom,cpu-name = <&CPU3>;
- + };
- +
- + qcom,cpu4-chars {
- + qcom,sensor = <&sensor_information13>;
- + qcom,cpu-name = <&CPU4>;
- + };
- +
- + qcom,cpu5-chars {
- + qcom,sensor = <&sensor_information14>;
- + qcom,cpu-name = <&CPU5>;
- + };
- +
- + qcom,cpu6-chars {
- + qcom,sensor = <&sensor_information15>;
- + qcom,cpu-name = <&CPU6>;
- + };
- +
- + qcom,cpu7-chars {
- + qcom,sensor = <&sensor_information6>;
- + qcom,cpu-name = <&CPU7>;
- + };
- + };
- + };
- +
- + qcom,system-health-monitor {
- + compatible = "qcom,system-health-monitor";
- +
- + qcom,system-health-monitor-modem {
- + qcom,subsys-name = "msm_mpss";
- + qcom,ssrestart-string = "modem";
- + };
- + };
- +
- + cpuss_dump {
- + compatible = "qcom,cpuss-dump";
- + qcom,itlb_dump100 {
- + qcom,dump-node = <&L1_itlb_100>;
- + qcom,dump-id = <0x24>;
- + };
- + qcom,itlb_dump101 {
- + qcom,dump-node = <&L1_itlb_101>;
- + qcom,dump-id = <0x25>;
- + };
- + qcom,itlb_dump102 {
- + qcom,dump-node = <&L1_itlb_102>;
- + qcom,dump-id = <0x26>;
- + };
- + qcom,itlb_dump103 {
- + qcom,dump-node = <&L1_itlb_103>;
- + qcom,dump-id = <0x27>;
- + };
- + qcom,dtlb_dump100 {
- + qcom,dump-node = <&L1_dtlb_100>;
- + qcom,dump-id = <0x44>;
- + };
- + qcom,dtlb_dump101 {
- + qcom,dump-node = <&L1_dtlb_101>;
- + qcom,dump-id = <0x45>;
- + };
- + qcom,dtlb_dump102 {
- + qcom,dump-node = <&L1_dtlb_102>;
- + qcom,dump-id = <0x46>;
- + };
- + qcom,dtlb_dump103 {
- + qcom,dump-node = <&L1_dtlb_103>;
- + qcom,dump-id = <0x47>;
- + };
- + qcom,l2_tlb_dump0 {
- + qcom,dump-node = <&L2_tlb_0>;
- + qcom,dump-id = <0x120>;
- + };
- + qcom,l2_tlb_dump100 {
- + qcom,dump-node = <&L2_tlb_1>;
- + qcom,dump-id = <0x121>;
- + };
- + qcom,l2_dump0 {
- + qcom,dump-node = <&L2_0>; /* L2 cache dump for A53 cluster */
- + qcom,dump-id = <0xC0>;
- + };
- + qcom,l2_dump1 {
- + qcom,dump-node = <&L2_1>; /* L2 cache dumo for A57 cluster */
- + qcom,dump-id = <0xC1>;
- + };
- + qcom,l1_i_cache0 {
- + qcom,dump-node = <&L1_I_0>;
- + qcom,dump-id = <0x60>;
- + };
- + qcom,l1_i_cache1 {
- + qcom,dump-node = <&L1_I_1>;
- + qcom,dump-id = <0x61>;
- + };
- + qcom,l1_i_cache2 {
- + qcom,dump-node = <&L1_I_2>;
- + qcom,dump-id = <0x62>;
- + };
- + qcom,l1_i_cache3 {
- + qcom,dump-node = <&L1_I_3>;
- + qcom,dump-id = <0x63>;
- + };
- + qcom,l1_i_cache100 {
- + qcom,dump-node = <&L1_I_100>;
- + qcom,dump-id = <0x64>;
- + };
- + qcom,l1_i_cache101 {
- + qcom,dump-node = <&L1_I_101>;
- + qcom,dump-id = <0x65>;
- + };
- + qcom,l1_i_cache102 {
- + qcom,dump-node = <&L1_I_102>;
- + qcom,dump-id = <0x66>;
- + };
- + qcom,l1_i_cache103 {
- + qcom,dump-node = <&L1_I_103>;
- + qcom,dump-id = <0x67>;
- + };
- + qcom,l1_d_cache0 {
- + qcom,dump-node = <&L1_D_0>;
- + qcom,dump-id = <0x80>;
- + };
- + qcom,l1_d_cache1 {
- + qcom,dump-node = <&L1_D_1>;
- + qcom,dump-id = <0x81>;
- + };
- + qcom,l1_d_cache2 {
- + qcom,dump-node = <&L1_D_2>;
- + qcom,dump-id = <0x82>;
- + };
- + qcom,l1_d_cache3 {
- + qcom,dump-node = <&L1_D_3>;
- + qcom,dump-id = <0x83>;
- + };
- + qcom,l1_d_cache100 {
- + qcom,dump-node = <&L1_D_100>;
- + qcom,dump-id = <0x84>;
- + };
- + qcom,l1_d_cache101 {
- + qcom,dump-node = <&L1_D_101>;
- + qcom,dump-id = <0x85>;
- + };
- + qcom,l1_d_cache102 {
- + qcom,dump-node = <&L1_D_102>;
- + qcom,dump-id = <0x86>;
- + };
- + qcom,l1_d_cache103 {
- + qcom,dump-node = <&L1_D_103>;
- + qcom,dump-id = <0x87>;
- + };
- + };
- +
- + qcom,avtimer@fe09c000 {
- + compatible = "qcom,avtimer";
- + reg = <0xFE09C00C 0x4>,
- + <0xFE09C010 0x4>;
- + reg-names = "avtimer_lsb_addr", "avtimer_msb_addr";
- + qcom,clk_div = <27>;
- + };
- +
- + cci@f9100000 {
- + compatible = "arm,cci-400";
- + #address-cells = <1>;
- + #size-cells = <1>;
- + reg = <0xf9100000 0x1000>;
- + ranges = <0x0 0xf9100000 0x10000>;
- + hw-version = <8>;
- +
- + pmu@a000 {
- + compatible = "arm,cci-400-pmu";
- + reg = <0x9000 0x5000>;
- + interrupts = <0 344 0>,
- + <0 344 0>,
- + <0 344 0>,
- + <0 344 0>,
- + <0 344 0>;
- + };
- +
- + };
- +};
- +
- +&gdsc_usb30 {
- + reg = <0xfc4003c4 0x4>;
- + status = "ok";
- +};
- +
- +&gdsc_pcie_0 {
- + status = "ok";
- +};
- +
- +&gdsc_pcie_1 {
- + status = "ok";
- +};
- +
- +&gdsc_ufs {
- + status = "ok";
- +};
- +
- +&gdsc_venus {
- + clock-names = "ocmem_clk", "bus_clk", "core_clk";
- + clocks = <&clock_mmss clk_venus0_ocmemnoc_clk>,
- + <&clock_mmss clk_venus0_axi_clk>,
- + <&clock_mmss clk_venus0_vcodec0_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_venus_core0 {
- + qcom,support-hw-trigger;
- + clock-names = "core0_clk";
- + clocks = <&clock_mmss clk_venus0_core0_vcodec_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_venus_core1 {
- + qcom,support-hw-trigger;
- + clock-names = "core1_clk";
- + clocks = <&clock_mmss clk_venus0_core1_vcodec_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_venus_core2 {
- + qcom,support-hw-trigger;
- + clock-names = "core2_clk";
- + clocks = <&clock_mmss clk_venus0_core2_vcodec_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_mdss {
- + clock-names = "bus_clk", "core_clk";
- + clocks = <&clock_mmss clk_mdss_axi_clk>,
- + <&clock_mmss clk_mdss_mdp_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_camss_top {
- + clock-names = "csi0_clk", "csi1_clk", "bus_clk";
- + clocks = <&clock_mmss clk_camss_csi_vfe0_clk>,
- + <&clock_mmss clk_camss_csi_vfe1_clk>,
- + <&clock_mmss clk_camss_micro_ahb_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_jpeg {
- + clock-names = "bus_clk", "core0_clk", "core1_clk", "core2_clk";
- + clocks = <&clock_mmss clk_camss_jpeg_jpeg_axi_clk>,
- + <&clock_mmss clk_camss_jpeg_jpeg0_clk>,
- + <&clock_mmss clk_camss_jpeg_jpeg1_clk>,
- + <&clock_mmss clk_camss_jpeg_jpeg2_clk>;
- + parent-supply = <&gdsc_camss_top>;
- + status = "ok";
- +};
- +
- +&gdsc_vfe {
- + clock-names = "bus_clk";
- + clocks = <&clock_mmss clk_camss_vfe_vfe_axi_clk>;
- + parent-supply = <&gdsc_camss_top>;
- + status = "ok";
- +};
- +
- +&gdsc_cpp {
- + clock-names = "bus_clk", "core_clk";
- + clocks = <&clock_mmss clk_camss_vfe_cpp_axi_clk>,
- + <&clock_mmss clk_camss_vfe_cpp_clk>;
- + parent-supply = <&gdsc_camss_top>;
- + status = "ok";
- +};
- +
- +&gdsc_fd {
- + clock-names = "bus_clk", "core_clk";
- + clocks = <&clock_mmss clk_fd_axi_clk>,
- + <&clock_mmss clk_fd_core_clk>;
- + status = "ok";
- +};
- +
- +&gdsc_oxili_cx {
- + status = "ok";
- +};
- +
- +&gdsc_oxili_gx {
- + clock-names = "core_clk";
- + clocks = <&clock_mmss clk_oxili_gfx3d_clk>;
- + status = "ok";
- + parent-supply = <&pmi8994_s2_corner>;
- +};
- +
- +#include "msm-pm8994-rpm-regulator.dtsi"
- +#include "msm-pm8994.dtsi"
- +#include "msm-pmi8994.dtsi"
- +#include "msm8994-regulator.dtsi"
- +#include "msm8994-ion.dtsi"
- +#include "msm8994-iommu.dtsi"
- +#include "msm8994-iommu-domains.dtsi"
- +#include "msm8994-camera.dtsi"
- +#include "msm8994-gpu.dtsi"
- +#include "dsi-panel-sim-video.dtsi"
- +#include "dsi-panel-sim-dualmipi0-video.dtsi"
- +#include "dsi-panel-sim-dualmipi1-video.dtsi"
- +#include "dsi-panel-sim-cmd.dtsi"
- +#include "dsi-panel-sim-dualmipi0-cmd.dtsi"
- +#include "dsi-panel-sim-dualmipi1-cmd.dtsi"
- diff --git a/arch/arm64/boot/dts/14049_HW_12/dsi-panel-jd35695-1080p-cmd.dtsi b/arch/arm64/boot/dts/14049_HW_12/dsi-panel-jd35695-1080p-cmd.dtsi
- new file mode 100755
- index 0000000..7dcd17d
- --- /dev/null
- +++ b/arch/arm64/boot/dts/14049_HW_12/dsi-panel-jd35695-1080p-cmd.dtsi
- @@ -0,0 +1,212 @@
- +/************************************************************
- + * Copyright (c) 2013-2013 OPPO Mobile communication Corp.ltd.,
- + * VENDOR_EDIT
- + * Description: device tree for jdi cmd panel.
- + * Version : 1.0
- + * Date : 2013-12-12
- + * Author : yangxinqin
- + *
- + * This program is free software; you can redistribute it and/or modify
- + * it under the terms of the GNU General Public License version 2 and
- + * only version 2 as published by the Free Software Foundation.
- + *
- + * This program is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + */
- +
- +/*---------------------------------------------------------------------------
- + * This file is autogenerated file using gcdb parser. Please do not edit it.
- + * Update input XML file to add a new entry or update variable in this file
- + * VERSION = "1.0"
- + *---------------------------------------------------------------------------*/
- +&mdss_mdp {
- +dsi_jd35695_1080_cmd: qcom,mdss_dsi_jd35695_1080p_cmd {
- + compatible = "qcom,mdss-dsi-panel";
- + status = "ok";
- + qcom,cont-splash-enabled;
- + qcom,mdss-dsi-panel-name = "jd35695 1080p cmd mode dsi panel";
- + qcom,mdss-dsi-panel-manufacture = "JDI";
- + qcom,mdss-dsi-panel-version = "JD35695";
- + qcom,mdss-dsi-backlight-version= "PMI8994";
- + qcom,mdss-dsi-backlight-manufacture = "Qualcomm";
- + qcom,mdss-dsi-panel-controller = <&mdss_dsi0>;
- + qcom,mdss-dsi-panel-type = "dsi_cmd_mode";
- + qcom,mdss-dsi-panel-destination = "display_1";
- + qcom,mdss-dsi-panel-framerate = <60>;
- + qcom,mdss-dsi-virtual-channel-id = <0>;
- + qcom,mdss-dsi-stream = <0>;
- + qcom,mdss-dsi-panel-width = <1080>;
- + qcom,mdss-dsi-panel-height = <1920>;
- + qcom,mdss-dsi-h-front-porch = <100>;
- + qcom,mdss-dsi-h-back-porch = <82>;
- + qcom,mdss-dsi-h-pulse-width = <8>;
- + qcom,mdss-dsi-h-sync-skew = <0>;
- + qcom,mdss-dsi-v-back-porch = <7>;
- + qcom,mdss-dsi-v-front-porch = <3>;
- + qcom,mdss-dsi-v-pulse-width = <2>;
- + qcom,mdss-dsi-h-left-border = <0>;
- + qcom,mdss-dsi-h-right-border = <0>;
- + qcom,mdss-dsi-v-top-border = <0>;
- + qcom,mdss-dsi-v-bottom-border = <0>;
- + qcom,mdss-dsi-bpp = <24>;
- + qcom,mdss-dsi-underflow-color = <0x0000ff>;
- + qcom,mdss-dsi-border-color = <0>;
- + qcom,mdss-dsi-on-command = [
- + 15 01 00 00 00 00 02 FF 10
- + 15 01 00 00 00 00 02 35 00
- + 39 01 00 00 00 00 05 2a 00 00 04 37
- + 39 01 00 00 00 00 05 2b 00 00 07 7f
- +
- + 29 01 00 00 00 00 03 44 05 00
- + 15 01 00 00 00 00 02 FF E0
- + 15 01 00 00 00 00 02 B5 86
- + 15 01 00 00 00 00 02 B6 77
- + 15 01 00 00 00 00 02 B8 AD
- + 15 01 00 00 00 00 02 FB 01
- + 15 01 00 00 00 00 02 FF 10
- +
- + 15 01 00 00 00 00 02 36 03 //add for lcd rotater 180
- + 15 01 00 00 00 00 02 FF 23
- + 15 01 00 00 00 00 02 08 03
- + 15 01 00 00 00 00 02 FF 10
- + 15 01 00 00 00 00 02 51 FF
- + 15 01 00 00 00 00 02 53 2C
- + 15 01 00 00 00 00 02 55 02
- +
- + 15 01 00 00 00 00 02 FF 23
- + 15 01 00 00 00 00 02 FB 01
- + 15 01 00 00 00 00 02 05 24
- + 15 01 00 00 00 00 02 01 84
- + 15 01 00 00 00 00 02 FF 10
- +
- + 05 01 00 00 64 00 02 11 00
- + 05 01 00 00 11 00 02 29 00
- +
- + ];
- + qcom,mdss-dsi-off-command = [
- + 15 01 00 00 00 00 02 FF 10
- + 15 01 00 00 00 00 02 53 00
- + 05 01 00 00 11 00 02 28 00
- + 05 01 00 00 32 00 02 10 00];
- +
- + qcom,mdss-dsi-color-test-on-command=
- + [
- + 05 01 00 00 32 00 02 28 00
- + 05 01 00 00 32 00 02 10 00
- + 15 01 00 00 00 00 02 FF 24
- + 15 01 00 00 00 00 02 EC 01
- + 15 01 00 00 00 00 02 FF 20
- + 15 01 00 00 00 00 02 67 4D];
- +
- +
- + qcom,mdss-dsi-color-test-off-command =
- + [
- + 15 01 00 00 00 00 02 FF 24
- + 15 01 00 00 00 00 02 EC 00
- + 15 01 00 00 00 00 02 FF 10
- + 15 01 00 00 00 00 02 35 00
- + 29 01 00 00 00 00 03 44 05 00
- + 15 01 00 00 00 00 02 FF 10
- + 05 01 00 00 78 00 02 11 00
- + 05 01 00 00 32 00 02 29 00];
- +
- + qcom,mdss-dsi-cabc-off-command = [15 01 00 00 10 00 02 55 00
- + 05 01 00 00 10 00 02 29 00];
- + qcom,mdss-dsi-cabc-ui-command = [15 01 00 00 10 00 02 55 01
- + 05 01 00 00 10 00 02 29 00];
- + qcom,mdss-dsi-cabc-still-image-command = [15 01 00 00 10 00 02 55 02
- + 05 01 00 00 10 00 02 29 00];
- + qcom,mdss-dsi-cabc-video-command = [15 01 00 00 10 00 02 55 03
- + 05 01 00 00 10 00 02 29 00];
- +
- + qcom,mdss-dsi-on-command_shoushi = [
- +
- + 15 01 00 00 00 00 02 36 03 //add for lcd rotater 180
- + 15 01 00 00 00 00 02 FF 23
- + 15 01 00 00 00 00 02 08 03
- + 15 01 00 00 00 00 02 FF 10
- + 15 01 00 00 00 00 02 51 FF
- + 15 01 00 00 00 00 02 53 2C
- + 15 01 00 00 00 00 02 55 02
- +
- + 15 01 00 00 00 00 02 FF 23
- + 15 01 00 00 00 00 02 FB 01
- + 15 01 00 00 00 00 02 05 24
- + 15 01 00 00 00 00 02 01 84
- + 15 01 00 00 00 00 02 FF 10
- + 05 01 00 00 78 00 02 11 00
- + 05 01 00 00 60 00 02 29 00
- +
- + ];
- +
- + qcom,mdss-dsi-color-test-on-command-state = "dsi_lp_mode";
- + qcom,mdss-dsi-color-test-off-command-state = "dsi_lp_mode";
- +
- + qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
- + qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
- + qcom,mdss-dsi-h-sync-pulse = <1>;
- + qcom,mdss-dsi-traffic-mode = "burst_mode";
- + qcom,mdss-dsi-lane-map = "lane_map_0123";
- + qcom,mdss-dsi-bllp-eof-power-mode;
- + qcom,mdss-dsi-bllp-power-mode;
- + qcom,mdss-dsi-lane-0-state;
- + qcom,mdss-dsi-lane-1-state;
- + qcom,mdss-dsi-lane-2-state;
- + qcom,mdss-dsi-lane-3-state;
- + qcom,mdss-dsi-panel-timings = [E7 43 37 00 60 6C 39 45 5b 03 04 00];
- +
- +
- +
- + qcom,mdss-dsi-t-clk-post = <0x20>;
- + qcom,mdss-dsi-t-clk-pre = <0x3e>;
- + qcom,mdss-dsi-dma-trigger = "trigger_sw";
- + qcom,mdss-dsi-mdp-trigger = "none";
- + qcom,mdss-dsi-te-pin-select = <1>;
- + qcom,mdss-dsi-wr-mem-start = <0x2c>;
- + qcom,mdss-dsi-wr-mem-continue = <0x3c>;
- + qcom,mdss-dsi-te-dcs-command = <1>;
- + qcom,mdss-dsi-te-check-enable;
- + qcom,mdss-dsi-te-using-te-pin;
- +
- +
- +
- +
- + qcom,mdss-dsi-bl-min-level = <1>;
- + qcom,mdss-dsi-bl-max-level = <4095>;/*guozhiming@oem.cn modify 2015-03-24*/
- + qcom,mdss-dsi-lp11-init;
- + //qcom,mdss-dsi-init-delay-us=<50000>;
- + /**************************************************************************/
- + // qcom,esd-check-enabled;
- + // qcom,mdss-dsi-panel-status-command = [06 01 00 01 05 00 02 0A 08];
- + // qcom,mdss-dsi-panel-status-command-state = "dsi_lp_mode";
- + // qcom,mdss-dsi-panel-status-check-mode = "reg_read_jd35695";
- + // qcom,mdss-dsi-panel-status-read-length = <8>;
- + // qcom,mdss-dsi-panel-max-error-count = <2>;
- + // qcom,mdss-dsi-panel-status-value = <0x9c 0x00 0x00 0x02 0x40 0x80 0x00 0x00>;
- + /******************************************************************************/
- + // qcom,mdss-dsi-dma-trigger = "trigger_sw";
- + // qcom,mdss-dsi-mdp-trigger = "trigger_sw";
- +
- +
- +
- + // qcom,mdss-tear-check-frame-rate=<6000>;
- + // qcom,mdss-tear-check-sync-cfg-height = <1932>; /* Height + VBP + VFP + VSW */
- + // qcom,mdss-tear-check-sync-init-val= <1920>; /* Height */
- + //qcom,mdss-tear-check-sync-threshold-start = <4>;
- + // qcom,mdss-tear-check-sync-threshold-continue = <4>;
- + // qcom,mdss-tear-check-start-pos= <1920>; /* Height */
- + // qcom,mdss-tear-check-rd-ptr-trigger-intr= <1921>; /* Height + 1 */
- +
- + qcom,mdss-pan-physical-width-dimension = <70>;
- + qcom,mdss-pan-physical-height-dimension = <127>;
- +
- +
- + qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
- + qcom,mdss-dsi-reset-sequence = <1 11>, <0 2>, <1 12>;
- +
- + };
- +};
- +
- +
- diff --git a/arch/arm64/boot/dts/14049_HW_12/msm8994.dtsi b/arch/arm64/boot/dts/14049_HW_12/msm8994.dtsi
- new file mode 100644
- index 0000000..1424ed1
- --- /dev/null
- +++ b/arch/arm64/boot/dts/14049_HW_12/msm8994.dtsi
- @@ -0,0 +1,3812 @@
- +/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
- + *
- + * This program is free software; you can redistribute it and/or modify
- + * it under the terms of the GNU General Public License version 2 and
- + * only version 2 as published by the Free Software Foundation.
- + *
- + * This program is distributed in the hope that it will be useful,
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + * GNU General Public License for more details.
- + */
- +
- +/memreserve/ 0x00000000 0x00001000;
- +/memreserve/ 0xac1c0000 0x00001000;
- +
- +#include "skeleton64.dtsi"
- +#include <dt-bindings/clock/msm-clocks-8994.h>
- +
- +/ {
- + model = "Qualcomm Technologies, Inc. MSM 8994";
- + compatible = "qcom,msm8994";
- + qcom,msm-id = <207 0x0>;
- + qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
- + interrupt-parent = <&intc>;
- +
- + chosen {
- + bootargs = "sched_enable_hmp=1 sched_enable_power_aware=1";
- + };
- +
- + aliases {
- + sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
- + /*do not enable sdhc2 and sdhc3
- + sdhc2 = &sdhc_2;
- + sdhc3 = &sdhc_3;
- + */
- + i2c6 = &i2c_6; /* I2C6 NFC qup6 device */
- + i2c1 = &i2c_1;
- + i2c2 = &i2c_2;
- + i2c5 = &i2c_5;
- + spi0 = &spi_0;
- + /*#ifdef VENDOR_EDIT modify for fpc1021 fingerprints*/
- + spi12 = &spi_12;
- + /*#end VENDOR_EDIT*/
- + qup2 = &i2c_2;
- + };
- +
- + cpus {
- + #address-cells = <1>;
- + #size-cells = <0>;
- + cpu-map {
- + cluster0 {
- + core0 {
- + cpu = <&CPU0>;
- + };
- + core1 {
- + cpu = <&CPU1>;
- + };
- + core2 {
- + cpu = <&CPU2>;
- + };
- + core3 {
- + cpu = <&CPU3>;
- + };
- + };
- +
- + cluster1 {
- + core0 {
- + cpu = <&CPU4>;
- + };
- + core1 {
- + cpu = <&CPU5>;
- + };
- + core2 {
- + cpu = <&CPU6>;
- + };
- + core3 {
- + cpu = <&CPU7>;
- + };
- + };
- + };
- +
- + CPU0: cpu@0 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x0>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc0>;
- + qcom,ldo = <&ldo0>;
- + next-level-cache = <&L2_0>;
- + L2_0: l2-cache {
- + compatible = "arm,arch-cache";
- + cache-level = <2>;
- + power-domain = <&l2ccc_0>;
- + qcom,dump-size = <0x0>; /* A53 L2 dump not supported */
- + L2_tlb_0: l2-tlb {
- + qcom,dump-size = <0x4000>;
- + };
- + };
- + L1_I_0: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_0: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU1: cpu@1 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x1>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc1>;
- + qcom,ldo = <&ldo1>;
- + next-level-cache = <&L2_0>;
- + L1_I_1: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_1: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU2: cpu@2 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x2>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc2>;
- + qcom,ldo = <&ldo2>;
- + next-level-cache = <&L2_0>;
- + L1_I_2: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_2: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU3: cpu@3 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a53";
- + reg = <0x3>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc3>;
- + qcom,ldo = <&ldo3>;
- + next-level-cache = <&L2_0>;
- + L1_I_3: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + L1_D_3: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU4: cpu@100 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x100>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc4>;
- + qcom,ldo = <&ldo4>;
- + next-level-cache = <&L2_1>;
- + L2_1: l2-cache {
- + compatible = "arm,arch-cache";
- + cache-level = <2>;
- + qcom,dump-size = <0x280040>; /*A57 Cluster L2 size is 1MB */
- + power-domain = <&l2ccc_1>;
- + L2_tlb_1: l2-tlb {
- + qcom,dump-size = <0x4000>;
- + };
- + };
- + L1_itlb_100: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_100: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_100: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_100: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU5: cpu@101 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x101>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc5>;
- + qcom,ldo = <&ldo5>;
- + next-level-cache = <&L2_1>;
- + L1_itlb_101: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_101: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_101: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_101: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU6: cpu@102 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x102>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc6>;
- + qcom,ldo = <&ldo6>;
- + next-level-cache = <&L2_1>;
- + L1_itlb_102: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_102: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_102: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_102: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- +
- + CPU7: cpu@103 {
- + device_type = "cpu";
- + compatible = "arm,cortex-a57";
- + reg = <0x103>;
- + enable-method = "qcom,8994-arm-cortex-acc";
- + qcom,acc = <&acc7>;
- + qcom,ldo = <&ldo7>;
- + next-level-cache = <&L2_1>;
- + L1_itlb_103: l1-itlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_dtlb_103: l1-dtlb {
- + qcom,dump-size = <0x400>;
- + };
- + L1_I_103: l1-icache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0xd840>;
- + };
- + L1_D_103: l1-dcache {
- + compatible = "arm,arch-cache";
- + qcom,dump-size = <0x9040>;
- + };
- + };
- + };
- +
- + soc: soc { };
- +
- + memory {
- + #address-cells = <2>;
- + #size-cells = <2>;
- +
- + secure_mem: secure_region@0 {
- + linux,reserve-contiguous-region;
- + reg = <0 0 0 0x12c00000>;
- + label = "secure_mem";
- + };
- +
- + adsp_mem: adsp_region@0 {
- + linux,reserve-contiguous-region;
- + reg = <0 0 0 0x3F00000>;
- + label = "adsp_mem";
- + };
- +
- + qsecom_mem: qsecom_region@0 {
- + linux,reserve-contiguous-region;
- + reg = <0 0 0 0x1800000>;
- + label = "qseecom_mem";
- + };
- +
- + audio_mem: audio_region@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + reg = <0 0 0 0x614000>;
- + label = "audio_mem";
- + };
- +
- + removed_regions: removed_regions@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + linux,remove-completely;
- + reg = <0 0x06300000 0 0xD00000>;
- + label = "memory_hole";
- + };
- + /*#ifdef VENDOR_EDIT*/
- + nvbackup_regions: nvbackup_regions@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;
- + reg = <0 0x06200000 0 0x100000>;
- + label = "memory_nvbackup";
- + };
- + /*#endif VENDOR_EDIT*/
- + dfps_data_mem: dfps_data_mem@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + reg = <0 0x03400000 0 0x1000>;
- + label = "dfps_data_mem";
- + };
- + cont_splash_mem: cont_splash_mem@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + reg = <0 0x03401000 0 0x2200000>;
- + label = "cont_splash_mem";
- + };
- +
- + peripheral_mem: peripheral_region@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + linux,remove-completely;
- + reg = <0 0x0ca00000 0 0x1f00000>;
- + label = "peripheral_mem";
- + };
- +/*#ifdef VENDOR_EDIT //changhua.li add for enlarge TZ APP memory to 25M*/
- + tzapp_mem: tzapp_region@0 {
- +
- + linux,reserve-contiguous-region;
- +
- + linux,reserve-region;
- +
- + linux,remove-completely;
- +
- + reg = <0 0x0E900000 0 0x1900000>;
- +
- + label = "tzapp_mem";
- +
- + };
- +/*#endif VENDOR_EDIT*/
- +
- +
- + modem_mem: modem_region@0 {
- + linux,reserve-contiguous-region;
- + linux,reserve-region;
- + linux,remove-completely;
- + reg = <0 0x07000000 0 0x5a00000>;
- + label = "modem_mem";
- + };
- +
- +/* #ifdef VENDOR_EDIT // add by xcb for ramoops 2015-03-31 */
- + ramoops_mem: ramoops_region@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;//modify by jiachenghui for ramoops reserve region
- + //linux,remove-completely;//del by jiachenghui for ramoops reserve region
- + reg = <0 0xac000000 0 0x00100000>;//modify from 0x05800000 to 0xac000000 by jiachenghui for ramoops reserve region
- + label = "ramoops_mem";
- + };
- +/* #endif VENDOR_EDIT */
- +
- + param_mem: param_region@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;
- + //linux,remove-completely;
- + reg = <0 0xac200000 0 0x00100000>;
- + label = "param_mem";
- + };
- + mtp_regions: mtp_regions@0 {
- + linux,reserve-contiguous-region;
- + oem,reserve-region;
- + reg = <0 0xAC400000 0 0x00100000>;
- + label = "memory_mtp";
- + };
- + };
- +};
- +
- +#include "msm-gdsc.dtsi"
- +#include "msm8994-smp2p.dtsi"
- +#include "msm8994-ipcrouter.dtsi"
- +#include "msm8994-mdss.dtsi"
- +#include "msm8994-mdss-pll.dtsi"
- +#include "msm8994-bus.dtsi"
- +
- +&soc {
- + #address-cells = <1>;
- + #size-cells = <1>;
- + ranges = <0 0 0 0xffffffff>;
- + compatible = "simple-bus";
- +
- + cpuss@fd4a8000 {
- + compatible = "qcom,cpuss-8994";
- + reg = <0xfd4a8000 0x4>;
- + };
- +
- + acc0:clock-controller@f908b004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9070000 0x1000>,
- + <0xf908b000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc1:clock-controller@f909b004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9071000 0x1000>,
- + <0xf909b000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc2:clock-controller@f90ab004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9072000 0x1000>,
- + <0xf90ab000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc3:clock-controller@f90bb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9073000 0x1000>,
- + <0xf90bb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc4:clock-controller@f90cb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9074000 0x1000>,
- + <0xf90cb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc5:clock-controller@f90db004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9075000 0x1000>,
- + <0xf90db000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc6:clock-controller@f90eb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9076000 0x1000>,
- + <0xf90eb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + acc7:clock-controller@f90fb004 {
- + compatible = "qcom,arm-cortex-acc";
- + reg = <0xf9077000 0x1000>,
- + <0xf90fb000 0x1000>,
- + <0xf900b000 0x1000>;
- + };
- +
- + ldo0:ldo-vref@f9070000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9070000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo1:ldo-vref@f9071000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9071000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo2:ldo-vref@f9072000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9072000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo3:ldo-vref@f9073000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9073000 0x30>;
- + qcom,ldo-vref-ret = <0x2a>;
- + };
- +
- + ldo4:ldo-vref@f9074000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9074000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- + ldo5:ldo-vref@f9075000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9075000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- + ldo6:ldo-vref@f9076000 {
- + compatible = "qcom,8994-cpu-ldo-vref";
- + reg = <0xf9076000 0x30>;
- + qcom,ldo-vref-ret = <0x3e>;
- + };
- +
- :
Add Comment
Please, Sign In to add comment